What problem does it solve?
This Skill addresses challenges in End-to-End (E2E) testing for web applications, particularly those involving browser automation, cross-browser compatibility, and flaky test scenarios.
Core Features & Use Cases
- E2E Test Setup: Guides through initializing Playwright and configuring test environments.
- Cross-Browser Testing: Facilitates testing across Chromium, Firefox, and WebKit.
- Network Interception & Mocking: Enables mocking API responses for isolated testing.
- Visual Regression: Supports capturing screenshots for visual validation.
- Flaky Test Handling: Provides strategies for dealing with intermittent test failures.
- Use Case: Debugging a login flow that intermittently fails in production but works locally. This Skill can help set up Playwright to reliably test the flow, mock network responses, and capture visual differences if the failure is visual.
Quick Start
Use the playwright-expert skill to set up a new Playwright project and write a basic authentication test.