What problem does it solve?
Provides a single, practical reference to reduce flakiness, speed up debugging, and standardize Playwright test development so teams can deliver consistent, maintainable test suites.
Core Features & Use Cases
- Writing & Structure: Guidance for E2E, component, API, visual, accessibility, Electron, and extension tests with recommended project layout and POM patterns.
- Stability & Debugging: Strategies for flaky test mitigation, assertions & waiting, trace analysis, console monitoring, and race-condition fixes.
- Infrastructure & CI: Best practices for parallelization, sharding, artifacts, reporters, global setup/storageState, and GitHub Actions/GitLab/Docker integration.
- Advanced Patterns: Network interception and mocking, clock/time mocking, file uploads/downloads, WebSocket and service worker handling, multi-context flows, and accessibility (axe-core) checks.
Quick Start
Describe the test scenario, target environment (local or CI), and the failure or goal you want Playwright guidance for, e.g., "Help me write a stable E2E test for login that runs in CI and mocks the email verification flow."