aem-project-archetype icon indicating copy to clipboard operation
aem-project-archetype copied to clipboard

Enforce local build of ui-tests module by default

Open kwin opened this issue 4 months ago • 0 comments

Currently the submodule within ui-tests (e.g. either https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/ui.tests.wdio/test-module or https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/ui.tests.cypress/test-module) are only built through the special profiles. Those profiles either require Docker to be installed and/or Selenium and AEM running.

For regular local and pre Cloud Manager CI builds those conditions are usually not fulfilled therefore the profiles are not set and this module is not checked at all.

There should be a dedicated profile (active by default) which just builds/checks the tests with the frontend-maven-plugin but without actually executing them.

This is similar to what is provided in https://github.com/adobe/aem-project-archetype/blob/ea3b2b862ab9299008233b47264ceb9940bbb266/src/main/archetype/ui.tests.wdio/pom.xml#L107 but without the execution part and being active by default.

kwin avatar Feb 21 '24 18:02 kwin