playwright-authoring

Author reliable Playwright flows, fixtures, and assertions.

SKILL.md

GitHub

Playwright authoring

Read applicable AGENTS.md and their declared adapter alias, otherwise .agents/skills/playwright-authoring/SKILL.md from the repository root if present. Local policy overrides these defaults; do not reload an already-read adapter or canonical skill.

Apply test-authoring.

  • Use a stable, accessible locator. Assert a user-observable outcome.
  • Establish data, authentication, and server state through a supported fixture or API.
  • Do not rely on test order or an arbitrary wait.
  • Keep each scenario independently repeatable. Use an auto-waiting assertion. Capture diagnostics on failure.
  • Use the browser for a real browser interaction. Do not repeat a unit test there.
  • Read browser reliability for locator, waiting, state, and network rules.

Consumer wrapper owns: environments, credentials, personas, fixtures, and suite commands.