Exercise 03 — Plan one section with the planner agent
Goal
Produce a small markdown plan for one list-feature category (for example share dialog or delete confirmation), then optionally generate a single test.
Steps
- Read
docs/AI-TESTING.md(CLI vs MCP vs agents) andAGENTS.md. - Use the planner prompt (
.github/prompts/playwright-test-plan.prompt.md) but limit scope to one section—or write the plan by hand inspecs/followingmovies-list-plan.mdstructure. - Seeds must reference
tests/logged-in/seed.spec.tsandlist-fixtures, not deprecatedlist-test.ts. - Optional: generate one scenario with
.github/prompts/playwright-test-generate.prompt.md, then rewrite onto fixtures using the movies-playwright skill (house style). Heal failures with.github/prompts/playwright-test-heal.prompt.mdand a trace. - Open a PR (or local branch) with the plan diff and any idiomatic test.
Done when
- Plan has numbered steps and expected results.
- Fixture/seed language matches house style.
- Any generated test passes the review rubric in
docs/AI-TESTING.md.