Custom UI Testing Tests Not Executing Successfully in Cloud Environment Despite Local Success
- January 3, 2025
- 3 replies
- 1033 views
We are encountering an issue where our test suite executes successfully in the local environment but fails to run properly in the cloud environment. Below are the relevant details and observed behavior for troubleshooting:
Local Execution:
Environment: macOS
Logs Summary:
Ran mvn verify -Pui-tests-local-execution \
-DAEM_AUTHOR_URL=http://localhost:4502 \
-DAEM_AUTHOR_USERNAME=admin \
-DAEM_AUTHOR_PASSWORD=admin \
-DAEM_PUBLISH_URL=http://localhost:4503 \
-DAEM_PUBLISH_USERNAME=admin \
-DAEM_PUBLISH_PASSWORD=admin on local repo
All tests pass as expected.
Sample log output indicates successful execution:
3 passing (1.6s) for /specs/aem/login.js
1 passing (2.5s) for /specs/aem/basic.js
HTML report generated successfully.
Build completes with: BUILD SUCCESS.
Cloud Execution:
Tests do not execute correctly.
Attached dev cloud pipeline logs.
Has anyone faced a similar issue with AEM test execution? How can this be fixed ?