e2e-testing-patterns

Installation
Summary

Comprehensive guide to building reliable, maintainable end-to-end test suites with Playwright and Cypress.

  • Covers both Playwright and Cypress with setup, configuration, and framework-specific patterns including Page Object Model, fixtures, network mocking, and custom commands
  • Addresses core E2E testing philosophy, the testing pyramid, and best practices for deterministic, independent tests using data attributes and user-behavior assertions
  • Includes advanced patterns for visual regression testing, parallel execution with sharding, and accessibility validation using Axe
  • Provides debugging strategies, common pitfalls to avoid (flaky tests, brittle selectors, poor cleanup), and practical code examples for waiting strategies and API interception
SKILL.md

E2E Testing Patterns

Build reliable, fast, and maintainable end-to-end test suites that provide confidence to ship code quickly and catch regressions before users do.

When to Use This Skill

  • Implementing end-to-end test automation
  • Debugging flaky or unreliable tests
  • Testing critical user workflows
  • Setting up CI/CD test pipelines
  • Testing across multiple browsers
  • Validating accessibility requirements
  • Testing responsive designs
  • Establishing E2E testing standards

Core Concepts

1. E2E Testing Fundamentals

Related skills

More from wshobson/agents

Installs
15.3K
Repository
wshobson/agents
GitHub Stars
35.3K
First Seen
Jan 20, 2026