Changelog
All notable changes to the qa plugin (named playwright-qa-agents before 1.0.0). Versions follow semantic versioning.
[1.5.0] - 2026-11-21
Added
component-testeragent: writes component tests in the runner the repo already uses and never picks one (none → it lists the options and asks). Covers states and variants (props, empty, loading, error, disabled), not flows; finds untested states; runs accessibility checks on every state it renders (axe + thea11ybundle in Playwright, Storybook's a11y addon, axe-core in jsdom with its limits stated).qa-components(on Claude's PATH):detectfinds Playwright's built-inmount+ story gallery (1.62+), the removed@playwright/experimental-ct-*packages (with a migration warning), Storybook's test runner / Vitest addon, Vitest browser mode, and Vitest / Jest with jsdom; and where Playwright's ownplaywright-component-testingskill is in the repo'snode_modules(version-matched; not bundled or linked).coveragemaps*.story.*stories to the tests that mount them: untested stories, unknown mounts, common states with no story./review-tests: concrete rule for component tests that are really flows (leave the component, chain goals, or use the real backend) → scope creep, move to e2e.author-testsroutes component-test requests to thecomponent-tester.- Sample app: a framework-free
BookListcomponent with five stories and a story gallery to Playwright's gallery contract (/playwright/gallery/index.html), plusfixtures/components/: specs that leave theLoadFailedstate untested and a flow written as a component test. A real Playwright run (CI) mounts every state through the built-in fixture and scans each one with axe.
[1.4.0] - 2026-11-21
Added
a11y-testeragent: writes and runstests/a11y/<page>.a11y.spec.tsfor one page: axe at the repo's WCAG target (.claude/qa.json"a11y": { "wcag": "2.2", "level": "AA" }, default 2.2 AA), keyboard (relative tab order of each task's key elements, visible focus, dialogs that trap focus, close on Escape and return focus), ARIA file snapshots of stable regions only (baselines reviewed by the user), reduced motion / more contrast / forced colors, and reflow at 320px with 200% root text (labelled an approximation). Test code only; real accessibility bugs stay failing tests. The report has failures, findings, a manual checklist, and says "no automated violations found", never "accessible".a11yhelper bundle (the plugin's own, not commons):expectTabOrder,expectVisibleFocus,expectFocusTrapped,expectEscapeCloses,withMedia,expectReflow. Fixed px font sizes are reported asa11y-findingannotations, not failures. JS +.d.tsfor TypeScript and JavaScript repos.qa-support install --bundle a11ycopies it, even when commons is installed;updaterefreshes unmodified copies.author-testsroutes accessibility requests to thea11y-tester.- Sample app: an accessible About dialog on
/; on/a11y-broken, no visible focus, fixed px text, a box too wide for 320px and a modal with no focus handling. A real Playwright run (CI) checks the helpers pass on the first and fail on the second.
Fixed
- Sample app
/: at 320px with 200% text, the form inputs overflowed by a few pixels (box-sizing) and, with wider fonts such as DejaVu Sans on CI, the heading's one long word didn't fit (overflow-wrap: break-word). The new reflow check found both; its failure message names the elements that stick out.
[1.3.0] - 2026-11-21
Added
/review-testsand thetest-revieweragent: checks the tests against the original request saved in.claude/qa/requirements.md— the only source of truth (a plan is used only to map ids; every plan-vs-request difference is a finding). Fresh context; numbered requirement items (ambiguous ones get a question), gaps and partial coverage, extras labelled useful-keep / scope creep / wrong, weak tests that wouldn't fail if the feature broke. Decisions first, then the requirement → test table. Report only.qa-requirements(on Claude's PATH): saves the request verbatim at the start of a task — from the chat, a GitHub issue (gh) or a file — with its source, git branch and date. The file format is the contract, so another plugin can add a source by writing it. A different branch or request is a new task. Warns on every run if the file isn't gitignored.author-testssaves the request first (restating it for a yes when nothing is written down) and runs/review-testsonce the suite is green.- Auto-review safety net (opt-in,
.claude/qa.json"hooks": { "autoReview": true }): aPostToolUsehook that, after a green test run (not--list,--help,show-report,codegen, …), asks for/review-tests— once per green run, only when the test files changed, at most 2 per task, then only on request. - Sample-app fixture
fixtures/review-tests/: a request, a drifted plan and a spec with a planted gap, partial coverage, weak test and scope creep.
[1.2.0] - 2026-11-21
Added
- Works without playwright-test-commons. When commons isn't installed, the generators copy its helpers into the repo with
qa-support(on Claude's PATH):coreanduibundles copied only as needed, intotests/support/(or.claude/qa.json"supportDir"), TypeScript sources or compiled JS +.d.tsfor repos without a tsconfig. Tests import the copy with relative paths. With commons installed, nothing changes. qa-support status | plan | install | update: shows the devDependencies the helpers need (never editspackage.json; skips compatible installs; never downgrades), stamps each copy with the commons version and its hash, offers updates for unmodified older copies, leaves edited ones alone, and stops on files it didn't write.- Helper templates generated from playwright-test-commons v0.8.0 (
scripts/sync-commons-templates.mjs); a test fails if a template changes, and CI fails if they drift from the tag.
Changed
- playwright-test-commons is optional (recommended). Its
check-test-idsstays there: for an id check in CI, install commons and run it.
[1.1.0] - 2026-11-21
Added
- Test-file hook (
PostToolUseon Edit / Write / MultiEdit): after a*.{spec,test}.{ts,js,mjs,cjs}file is edited, it lints that file with the project's ESLint and checksplaywright test --list <file>still loads it, from the nearestplaywright.config.*folder. Failures go back to Claude to fix (the edit stays); a missing tool or the 60 s cap is reported as skipped, never a silent pass; every result shows the elapsed time. Opt-in per project (.claude/qa.json); off everywhere else. No network.
[1.0.0] - 2026-11-20
Changed (breaking)
- Renamed
playwright-qa-agents→qa, and the marketplaceplaywright-ai-qa-agents→benweese. Install withclaude plugin install qa --marketplace benweese/playwright-ai-qa-agents(orclaude plugin marketplace add benweese/playwright-ai-qa-agentsthenclaude plugin install qa@benweese). Uninstall the oldplaywright-qa-agents@playwright-ai-qa-agentsfirst. - Skills are now
/qa:<skill>(was/playwright-qa-agents:<skill>). - Moved out:
check→ theworkflowplugin (/workflow:check);update-docs→ thedocsplugin (/docs:update-docs). - The plugin now lives in
plugins/qa/of a multi-plugin marketplace repo.
No change to what the agents and remaining skills do.
0.10.0 - 2026-11-12
Changed
- ui-test-healer runs every
playwright-clicommand in its own named session (-s=heal-<name>), deletes any data it creates and reports what it couldn't, and keeps the repo's worker count. - ui-test-generator confirms the plan was approved before generating. Both generators now stop and ask when they can't tell.
- Both generators follow Playwright's isolated-test practice: tests pass alone and in any order, a dependent journey is one test with a
test.stepper stage, and shared data is created per worker. Serial mode stays banned. - page-mapper states that the test repo's
CLAUDE.mdwins over its defaults, like the other agents.
Added
docs/worked-example.md: the cart feature of playwright-e2e-demo, from page map to the healer's final diff, with token use per stage. It links the reviewed cart plan,plans/ui-cart.md, pinned to the e2e commit that added it.- README: how to check the plugin loaded (Claude Code no longer has
/agents), the VS Code reload command, "What review caught", "Limitations" (convention vs enforced guardrails, measured cost, when not to use it) and "Background", which links the published blog post. - README "Convention or enforced": serial mode and skipped or conditional tests are now lint errors in playwright-e2e-demo.
- README "What review caught": the orphaned test account was deleted afterwards with
deleteAccount. - CI fails when
plugin.jsonandmarketplace.jsonhave different versions.
Fixed
- README described the healer as leaving plan-vs-page mismatches failing. It marks them
test.fixme()with the expected and actual result.
[0.9.0] - 2026-11-12
Fixes from building the playwright-e2e-demo suite.
- page-mapper: named sessions, shared-site etiquette and cleanup, login and resume steps, repo locator rules, observed vs expected behaviour, template sections for input behaviour, success states and flows.
- api-test-planner: a Schemas section; undocumented negative cases go to open questions.
- ui-test-planner: the requirement wins over the page, with an "Expected findings" table;
@smokechecked against project tags; every element checked for a locator; id ranges for parallel planners; no locator code in plans. - api-test-generator: never serial,
UPDATE_SCHEMAS=truefor new schemas, the repo's status helper, unconditional cleanup, read helpers before relying on them. - ui-test-generator: repo locator rules, named sessions, delete what exploration creates, don't raise workers, commons
BasePagechecks. - README: terminal install, a new session after installing,
claude plugin update, playwright-test-commons v0.7.0.
[0.8.1] - 2026-11-10
- Planners: whether plans are committed is up to the test repo.
[0.8.0] - 2026-11-10
- Agents read the test repo's per-folder
CLAUDE.mdguides;update-docskeepsCLAUDE.mdsplit into a root file and folder guides.
[0.7.1] - 2026-11-10
- update-docs removes comments that only made sense to their author.
[0.7.0] - 2026-11-10
- Added the
update-docsskill: detailed READMEs, JSDoc everywhere, only comments that explain why.
[0.6.1] - 2026-11-10
- Generators document reusable code with JSDoc.
[0.6.0] - 2026-11-10
- Response bodies are typed in the API clients; no environment settings.
[0.5.0] - 2026-11-10
- Bundled Playwright's
playwright-cliskill in the plugin.
[0.4.1] - 2026-11-10
- Agents use the test repo's
playwright-cliskill; removed the frontmatter check script from CI.
[0.4.0] - 2026-11-10
- Agents write TypeScript:
.tsfiles, typed bodies, and lint that includes the type-check.
[0.3.0] - 2026-11-10
- Numeric test ids, unique across the repo (
#0012); the kind of test comes from tags.
[0.2.1] - 2026-11-10
- Run tests with
npx playwright testinstead ofnpm test.
[0.2.0] - 2026-11-10
- Dropped briefs; plans open with acceptance criteria.
[0.1.1] - 2026-11-10
- Locators scope to a good container instead of requiring
data-*anchors.
[0.1.0] - 2026-11-08
- First release: page-mapper, API and UI planners and generators, the UI healer, and the
author-tests,run-spec,checkandbug-reportskills.