Custom Functional Tests for safer CI/CD pipelines
summary
Custom functional tests are Java-based Java tests that use AEM Testing Clients and JUnit rules to perform HTTP requests against author or publish instances, run as separate artifacts (test classes end with IT) and block the Cloud Manager pipeline on failure. Examples create pages, upload images, instantiate a component, fetch its HTML/JSON and assert values; demos run locally or on stage, require cleanup, and show forthcoming Selenium UI tests (soon) for visual checks.
AI-written summary · about
chapters (20)
- 0:00Intro
- 0:35What are custom functional tests
- 1:58What are product functional tests
- 2:49Custom functional tests
- 4:07Where to start
- 5:18Create Page
- 6:22Run Test Locally
- 6:58Run Test Locally with Maven
- 8:30Testing Clients
- 9:41Custom Test
- 9:57Component Overview
- 10:55Quick Test
- 11:32Before Rule
- 14:22Best Practices
- 16:05Selenium UI Tests
- 17:45Selenium UI Test Script
- 18:20Upload Image to Assets
- 19:13Test Report
- 20:13References
- 20:37QA
