e2e-testing-automation
Installation
SKILL.md
E2E Testing Automation
Comprehensive guidance for implementing end-to-end browser testing using modern frameworks. Covers framework selection, page object patterns, waiting strategies, visual regression, API mocking, authentication fixtures, parallel execution, CI/CD integration, flaky test management, and accessibility testing.
When to Use This Skill
Use this skill for:
- Choosing between Playwright, Cypress, and Selenium for a project
- Implementing the page object model for maintainable test suites
- Writing reliable selectors using data-testid and ARIA roles
- Configuring auto-wait and explicit wait strategies to eliminate flakiness
- Setting up visual regression testing with screenshot comparison
- Mocking or intercepting API responses in browser tests
- Handling authentication in E2E tests without repeated login flows
- Running tests in parallel across multiple browsers
- Integrating E2E tests into CI/CD pipelines (GitHub Actions, GitLab CI)
- Diagnosing and fixing flaky tests
- Adding accessibility checks to existing E2E suites