Recommended approach for triggering website sanity tests after AEM Cloud Manager deployment
Hi Adobe Community,
I am looking for recommendations on the best way to integrate an existing automated Website Sanity Test Suite with an AEM as a Cloud Service Cloud Manager pipeline.
The requirement is to automatically trigger sanity tests after a successful deployment, run them against multiple configured website URLs, and publish HTML/JUnit-style results containing passed, failed, skipped, duration, and failure details.
The test results should also be traceable to the corresponding pipeline run and environment. Website URLs and environment-specific configurations should remain externalized rather than hardcoded.
What would be the recommended approach?
- Use Cloud Manager Custom Functional/UI Tests?
- Trigger the existing suite on an external CI/test platform after deployment?
- Use a hybrid approach where Cloud Manager handles deployment and an external platform handles post-deployment validation?
Also, what is the recommended way to link the external test execution/report back to the corresponding Cloud Manager pipeline run?
Any best practices or reference architecture for this type of integration would be appreciated.