plugins/app-builder/skills/appbuilder-e2e-testing/SKILL.md
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 skillsauth add adobe/skills appbuilder-e2e-testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Playwright-based browser E2E testing for Adobe App Builder SPAs and AEM extensions. This skill generates Playwright configs, test files, and CI workflows for browser-level validation.
Identify the user's intent, then read the referenced sections to generate tailored tests.
| User wants | Reference | Asset |
| --- | --- | --- |
| E2E test for ExC Shell SPA | references/e2e-testing-patterns.md | assets/playwright.config.ts, assets/e2e-test-template.spec.ts |
| Test AEM extension in browser | references/aem-extension-testing.md | assets/playwright.config.ts |
| E2E tests in CI pipeline | references/ci-integration.md | assets/e2e-ci-workflow.yml |
When the user says "add E2E tests" or "write Playwright tests" and intent is clear:
web-src/ (SPA) or @adobe/uix-guest in dependencies (AEM extension)npm install -D @playwright/test && npx playwright install chromiumplaywright.config.ts from assets/playwright.config.tsreferences/e2e-testing-patterns.md, generate test with iframe navigation, shell wait, Spectrum ARIA selectorsreferences/aem-extension-testing.md, generate test with Extension Tester URL, nested iframe handling, modal flowsnpx playwright testassets/e2e-ci-workflow.ymle2e/ at project root (separate from Jest test/)playwright.config.ts at project rootnpm install -D @playwright/test && npx playwright install chromium (installs Playwright + Chromium browser)npx playwright test (headless) or npx playwright test --headed (visible browser)npx playwright test --debug (step-through mode)npx playwright show-report (open HTML report)page.frameLocator('iframe') — exact selector varies, see references/e2e-testing-patterns.mdgetByRole('button', { name: 'Save' }), getByRole('grid'), getByRole('textbox')aio app dev (local) first. See references/e2e-testing-patterns.md § Authentication.devMode=true. See references/aem-extension-testing.md.web-src/ (SPA), @adobe/uix-guest (AEM extension), existing test setup, app.config.yaml extension typenpm install -D @playwright/test && npx playwright install chromium if not already installedassets/playwright.config.ts for the projectreferences/e2e-testing-patterns.mdreferences/aem-extension-testing.mdpage.route() interceptsnpx playwright test, fix selectors/timing as neededreferences/ci-integration.md and generate workflow from assets/e2e-ci-workflow.ymlplaywright.config.ts configured for the projecte2e/ directorygetByRole, getByLabel) — no CSS class selectorsframeLocator() — no frame() with indexawait expect() assertions — no assertion-free testspage.route() for deterministic resultspage.waitForTimeout() — use waitForSelector, waitForResponse, or Playwright auto-waitingreferences/e2e-testing-patterns.md for Playwright E2E patterns for ExC Shell SPAs (iframe nav, Spectrum selectors, auth, action stubbing).references/aem-extension-testing.md for AEM extension testing patterns (Extension Tester, nested iframes, modal lifecycle, extension points).references/ci-integration.md for running Playwright in GitHub Actions (browser install, artifact upload, headless config).assets/playwright.config.ts as the base Playwright configuration template.assets/e2e-ci-workflow.yml as the GitHub Actions workflow template for E2E tests.page.frameLocator('iframe[src*="your-app"]') or discover with page.frames().runtime.done() is called in the SPA. For E2E, wait for content inside the iframe rather than the shell itself.getByRole() instead of CSS selectors. Check references/e2e-testing-patterns.md § Spectrum Selectors.aio app dev) which skips shell auth. See auth section in references/e2e-testing-patterns.md.references/aem-extension-testing.md § Common Gotchas.retries: 1), use waitForResponse() for action calls, and check references/ci-integration.md for headless configuration.appbuilder-ui-scaffolder (after UI components are generated, add E2E tests)appbuilder-testing (when user wants browser-level validation beyond Jest unit tests)appbuilder-cicd-pipeline (add E2E test job to CI/CD pipeline)tools
Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric between two time periods. Use this skill when someone asks "what's up and what's down," "which campaigns moved the most," "top gainers and losers," "what pages are trending," "show me what changed by channel," or any variation of identifying the biggest movers and decliners for a metric.
tools
Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences, cohorts, or groups — for example, "how do mobile users compare to desktop users on conversion," "compare new vs. returning visitors," "show me the difference between these two segments," "compare these audiences on our KPIs," or "which segment performs better." Also trigger for "segment comparison," "audience comparison," or "cohort comparison."
business
Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when someone asks for a performance summary, a weekly recap, a morning briefing, a KPI update, or any variation of "how did we do this week/month." Also trigger for requests like "give me a performance overview," "what moved in the last 7 days," "pull our KPI report," or "summarize our metrics."
testing
Analyzes a multi-step conversion funnel to find where users drop off and which steps have the worst leakage. Use this skill when someone describes a journey or funnel and asks about conversion rates, drop-off, fallout, or step completion. Trigger for phrases like "analyze our onboarding funnel," "where are users dropping off," "what's our checkout conversion rate," "funnel analysis," "show me fallout between these steps," or "which step loses the most users."