What problem does it solve?
This Skill prevents slow, flaky browser testing by guiding you to add a focused end-to-end Playwright test that hits the real user path only after confirming Playwright is set up and the dev server loop works.
Core Features & Use Cases
- Playwright-aware E2E generation: Detects existing Playwright dependencies and config, then inherits baseURL/projects/auth/fixtures where available.
- Hard-gated smoke test: Writes one minimal “app loads” test and requires it to pass before generating the real flow test.
- Production-grade test style: Uses role- and label-based selectors, Playwright
expect auto-retry assertions, and stable auth via storageState fixtures.
- Auth support for real flows: Adds or references an auth-state setup when the flow requires a logged-in user.
- Flake reduction: Instructs against fixed timeouts and non-retrying visibility checks, and validates stability via repeated runs.
Quick Start
Ask the AI to add an end-to-end Playwright smoke-and-flow test by telling it which page you start on, what you do there, and what visible result proves the flow worked.