playwright-writing
Installation
SKILL.md
Playwright Writing
Purpose
Guide the creation of reliable, maintainable Playwright E2E tests that test real user-visible behavior against real application data.
When NOT to Use
- Unit tests (use Jest/Vitest instead)
- Integration tests that don't need browser automation
- API-only testing (use Playwright's API testing or dedicated tools)
- Performance/load testing (use k6, Artillery, etc.)
🚫 FORBIDDEN Patterns (Zero Tolerance)
Never Mock Application Data
Your tests MUST hit your real API endpoints.