Loading...
Loading...
Use this skill whenever the user wants browser-based end-to-end tests for an Adobe App Builder application. Covers Playwright E2E testing for ExC Shell SPAs, AEM extension UIs, and full-stack flows. Use when the user mentions: "E2E test", "end-to-end test", "Playwright", "browser test", "test my SPA in the browser", "test my AEM extension", "test the full flow", "integration test with UI", "headless browser test", "E2E in CI". This skill is for BROWSER-based testing only. For Jest unit tests of actions or React components, use appbuilder-testing instead.
npx skill4agent add adobe/skills appbuilder-e2e-testing| User wants | Reference | Asset |
|---|---|---|
| E2E test for ExC Shell SPA | | |
| Test AEM extension in browser | | |
| E2E tests in CI pipeline | | |
web-src/@adobe/uix-guestnpm install -D @playwright/test && npx playwright install chromiumplaywright.config.tsassets/playwright.config.tsreferences/e2e-testing-patterns.mdreferences/aem-extension-testing.mdnpx playwright testassets/e2e-ci-workflow.ymle2e/test/playwright.config.tsnpm install -D @playwright/test && npx playwright install chromiumnpx playwright testnpx playwright test --headednpx playwright test --debugnpx playwright show-reportpage.frameLocator('iframe')references/e2e-testing-patterns.mdgetByRole('button', { name: 'Save' })getByRole('grid')getByRole('textbox')aio app devreferences/e2e-testing-patterns.mddevMode=truereferences/aem-extension-testing.mdweb-src/@adobe/uix-guestapp.config.yamlnpm install -D @playwright/test && npx playwright install chromiumassets/playwright.config.tsreferences/e2e-testing-patterns.mdreferences/aem-extension-testing.mdpage.route()npx playwright testreferences/ci-integration.mdassets/e2e-ci-workflow.ymlplaywright.config.tse2e/getByRolegetByLabelframeLocator()frame()await expect()page.route()page.waitForTimeout()waitForSelectorwaitForResponsereferences/e2e-testing-patterns.mdreferences/aem-extension-testing.mdreferences/ci-integration.mdassets/playwright.config.tsassets/e2e-ci-workflow.ymlpage.frameLocator('iframe[src*="your-app"]')page.frames()runtime.done()getByRole()references/e2e-testing-patterns.mdaio app devreferences/e2e-testing-patterns.mdreferences/aem-extension-testing.mdretries: 1waitForResponse()references/ci-integration.mdappbuilder-ui-scaffolderappbuilder-testingappbuilder-cicd-pipeline