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
Use the run-workflow MCP to discover, compose, execute, publish, and save Adobe Firefly workflows. TRIGGER when: user asks what actions are available, what the MCP can do, how to process images/video/3D via workflow, wants to build/run/save/publish a workflow, OR pastes any workflow/batch/execution ID. BARE ID (UUID/workflowId/batchId) = INSPECT ONLY — call inspect_run, NEVER run_workflow_submit. ALWAYS call list_actions first for capability/discovery questions. DO NOT TRIGGER for direct Firefly API calls without MCP (use firefly-api-specs).
tools
Run predefined featured workflows via run-workflow MCP. TRIGGER when user names a featured workflow (retargeting, banners at scale, localization, packaging, banner advertising, etc.) or asks to run a known marketing/production workflow. Requires run-workflow MCP. ALWAYS call get_featured_workflow before compose_workflow. DO NOT TRIGGER for custom one-off workflows with no named template — use run-workflow skill.
tools
Migrate an Adobe Commerce App Builder project from the Integration Starter Kit or Checkout Starter Kit to the new App Management approach. Run from the root of the App Builder project to be migrated. Pass --auto to skip confirmation prompts (suitable for CI or batch use) — auto mode prints a summary of all Q&A questions answered with their defaults. Pass --doc-scan-only to scan README.md and env.dist for outdated content without modifying any files. Use when the user wants to migrate an App Builder project from the Integration Starter Kit or Checkout Starter Kit to the App Management approach, or mentions upgrading their Adobe Commerce extension architecture.
development
Add or modify webhook interceptors in an Adobe Commerce app. Use when the user wants to intercept Commerce operations to validate input, append data, or modify behavior — before or after execution. Requires a base app initialized with commerce-app-init.