wshobson avatar

E2e Testing Patterns

The e2e-testing-patterns skill teaches developers how to design and implement reliable end-to-end test suites using Playwright and Cypress, covering test architecture, best practices, and patterns like Page Object Model. It addresses the problem of flaky tests and inconsistent testing standards by providing concrete guidance on what to test at the E2E level, how to structure tests for maintainability, and how to configure testing frameworks for CI/CD pipelines. This skill is for developers building production applications who need to validate critical user workflows while keeping test suites fast and maintainable.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
7
skills.sh installs
25.1K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill e2e-testing-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

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

What to Test with E2E:

  • Critical user journeys (login, checkout, signup)
  • Complex interactions (drag-and-drop, multi-step forms)
  • Cross-browser compatibility
  • Real API integration
  • Authentication flows

What NOT to Test with E2E:

  • Unit-level logic (use unit tests)
  • API contracts (use integration tests)
  • Edge cases (too slow)
  • Internal implementation details

2. Test Philosophy

The Testing Pyramid:

        /\
       /E2E\         ← Few, focused on critical paths
      /─────\
     /Integr\        ← More, test component interactions
    /────────\
   /Unit Tests\      ← Many, fast, isolated
  /────────────\

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
Testing & QA, DevOps & CI/CD, Debugging, Productivity & Planning

More from wshobson/agents

All 174
1affaan-m avatare2e-testingaffaan-m/eccPlaywright E2E testing patterns, Page Object Model, configuration, CI/CD integration, artifact management, and flaky test strategies.6.4Kskills.sh installs
2giuseppe-trisciuoglio avatarunit-test-service-layergiuseppe-trisciuoglio/developer-kitProvides patterns for unit testing service layer with Mockito. Creates isolated tests that mock repository calls, verify method invocations, test exception scen3.9Kskills.sh installs
3giuseppe-trisciuoglio avatarunit-test-controller-layergiuseppe-trisciuoglio/developer-kitProvides patterns for unit testing REST controllers using MockMvc and @WebMvcTest. Generates controller tests that validates request/response mapping, validatio3.9Kskills.sh installs
4giuseppe-trisciuoglio avatarunit-test-mapper-convertergiuseppe-trisciuoglio/developer-kitProvides patterns for unit testing mappers, converters, and bean mappings. Validates entity-to-DTO and model transformation logic in isolation. Generates execut3.9Kskills.sh installs
5giuseppe-trisciuoglio avatarunit-test-cachinggiuseppe-trisciuoglio/developer-kitProvides patterns for unit testing Spring Cache annotations (@Cacheable, @CachePut, @CacheEvict). Generates test code that mocks cache managers, verifies cache 3.8Kskills.sh installs
6bmad-labs avatartypescript-e2e-testingbmad-labs/skillsE2E and integration testing for TypeScript/NestJS projects using Jest, supertest, and real infrastructure via Docker (Kafka, PostgreSQL, MongoDB, Redis) with th2.3Kskills.sh installs