playwright-testing
Installation
SKILL.md
Playwright Testing
Workflow
- Confirm Playwright setup and target app URL.
- Choose language (TypeScript or Python) based on repo.
- Record or author tests with stable selectors.
- Add assertions for key UI states and flows.
- Run tests and debug failures.
Quick Intake (Ask/Confirm)
- Target environment (local dev server, staging URL, ephemeral preview).
- Auth needs (anonymous vs logged-in roles) and how to obtain credentials safely.
- State management (seeded DB? test accounts? reset between runs?).
- CI expectations (headless, artifacts, retries, cross-browser).
Setup
- Install Playwright and browsers.
- Use existing test config when present.
- In CI, always install browsers explicitly (
npx playwright install --with-deps) afternpm ci.