Skip to content

Scaffold Playwright E2E + axe-core accessibility testing infrastructure#5665

Draft
Copilot wants to merge 11 commits intoe2e/phase1-semanticsfrom
copilot/scaffold-playwright-e2e-infrastructure
Draft

Scaffold Playwright E2E + axe-core accessibility testing infrastructure#5665
Copilot wants to merge 11 commits intoe2e/phase1-semanticsfrom
copilot/scaffold-playwright-e2e-infrastructure

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 11, 2026

Playwright E2E test infrastructure for Flutter web + automated WCAG 2.1 AA accessibility auditing via axe-core. Flutter renders to <canvas>, so we enable the semantics tree (ARIA overlay) and use those nodes as Playwright locators — improving test coverage and accessibility are the same work.

Docs

Doc Content
e2e/pangea-automated-test-design.md Architecture, rationale, platform strategy, CI modes, development guidelines
e2e/web-and-accessibility-next-steps.md Actionable backlog, coverage matrix (11 web flows), known a11y violations
e2e/mobile-testing-plan.md Future Patrol migration plan (not started)

Usage

npm install && npx playwright install chromium
TEST_USER=user@example.com TEST_PASSWORD=pass \
  npx playwright test --config e2e/playwright.config.ts

Pull Request has been tested on:

  • Android
  • iOS
  • Browser (Chromium based)
  • Browser (Firefox based)
  • Browser (WebKit based)
  • Desktop Linux
  • Desktop Windows
  • Desktop macOS

Fixes #5664

- Add package.json with @playwright/test dependency
- Create e2e/playwright.config.ts targeting localhost:8080 with chromium and auth setup
- Create e2e/fixtures.ts for Flutter semantics tree enablement
- Create e2e/auth.setup.ts for login authentication flow
- Create e2e/scripts/login.spec.ts with login flow test and assertions
- Create e2e/trigger-map.json mapping file globs to test scripts
- Create e2e/select-tests.js for diff-based test selection (supports --platform flag)
- Add e2e/.auth/.gitkeep and update .gitignore for test artifacts
- Add e2e/README.md with setup and usage documentation

Co-authored-by: wcjord <32568597+wcjord@users.noreply.github.com>
Copilot AI changed the title [WIP] Scaffold Playwright E2E test infrastructure and add login test feat: Phase 2 - Scaffold Playwright E2E test infrastructure with login test Feb 11, 2026
Copilot AI requested a review from wcjord February 11, 2026 21:55
…k-to-focus for inputs, 30s login timeout, minimatch for glob matching
- New SKILL.md: step-by-step procedure for writing a Playwright spec
  (semantics audit → label fixes → spec authoring → trigger-map → validate)
- Test plan restructured around 4 goals: nightly smoke, diff-triggered,
  guided authoring (skill), cloud agent self-healing
- e2e-testing instructions applyTo expanded to include the skill path
- Secrets table now tracks setup status
- New pangea-automated-test-design.md: stable architecture spec (principles,
  platform strategy, web/mobile architecture, CI modes, Copilot integration)
- playwright-test-plan.md: actionable ticket with coverage table, adding-a-flow
  guide, components table (replaces execution model diagram)
- Mobile (Patrol) future plans moved to design doc
- Instructions applyTo updated to include design doc
The repo root IS client in CI — the extra working-directory
caused 'No such file or directory' on npm ci.
@wcjord wcjord linked an issue Feb 12, 2026 that may be closed by this pull request
27 tasks
@wcjord wcjord changed the title feat: Phase 2 - Scaffold Playwright E2E test infrastructure with login test Scaffold Playwright E2E + axe-core accessibility testing infrastructure Feb 12, 2026
@wcjord wcjord linked an issue Feb 12, 2026 that may be closed by this pull request
5 tasks
- axe-core WCAG 2.1 AA audits scoped to flt-semantics-host
- Fixed PangeaLogoSvg semanticsLabel
- Doc cleanup and reorganization
- Remove .env from tracking (gitignore)
@wcjord wcjord force-pushed the copilot/scaffold-playwright-e2e-infrastructure branch from 487fd47 to 2119dc4 Compare February 12, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scaffold Playwright E2E + axe-core accessibility testing infrastructure Automated E2E web testing with Playwright

2 participants