What problem does it solve?
This Skill provides a structured set of patterns and best practices to build reliable end-to-end tests using Playwright and Cypress, helping teams reduce flaky tests, increase confidence, and accelerate releases.
Core Features & Use Cases
- Page Object Model pattern for maintainable tests and reusable components
- Fixtures and test data strategies to ensure consistent test runs
- Waiting strategies and robust assertions to minimize flakiness
- Network mocking and interception to isolate tests from external services
- Cross-browser and cross-device testing patterns
- Accessibility and visual regression testing considerations
- Debugging tips, performance considerations, and CI/CD integration
Quick Start
Install Playwright and Cypress in your project, then organize tests using the patterns described here. Run tests with npm install followed by npx playwright test for Playwright tests and npx cypress run for Cypress tests. See the e2e directory in this Skill for examples.