e2e-testing-patterns

Implement E2E testing patterns with Playwright and Cypress.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/drgaciw/academic-compliance-hub-glm --skill e2e-testing-patterns-drgaciw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing-patterns
Source: https://github.com/drgaciw/academic-compliance-hub-glm/tree/main/agents/plugins/developer-essentials/skills/e2e-testing-patterns
Command: npx skills add https://github.com/drgaciw/academic-compliance-hub-glm --skill e2e-testing-patterns-drgaciw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill empowers developers to create reliable, fast, and maintainable end-to-end (E2E) test suites, ensuring code quality and enabling rapid deployment by catching regressions before they reach users.

Core Features & Use Cases

  • E2E Testing Fundamentals: Understand what to test and what to avoid in E2E scenarios.
  • Playwright & Cypress Patterns: Learn practical implementation patterns like Page Object Model, custom commands, and network mocking.
  • Advanced Techniques: Explore visual regression, parallel testing, and accessibility testing.
  • Use Case: When implementing automated tests for a critical user workflow like user registration and login, use this Skill to apply best practices for Playwright or Cypress to ensure the tests are stable and provide meaningful feedback.

Quick Start

Implement end-to-end tests using Playwright by defining a Page Object Model for your login page.

Frequently Asked Questions about e2e-testing-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the Page Object Model in E2E testing?

The Page Object Model in E2E testing is an implementation pattern that separates page interactions into reusable classes. This Skill provides practical guides for applying it using Playwright and Cypress to ensure stable E2E tests.

How do I implement network mocking in Playwright or Cypress?

To implement network mocking in Playwright or Cypress, you intercept and fulfill network requests to simulate server responses. This Skill covers practical patterns for network mocking to isolate UI tests from backend instability.

Does this Skill cover visual regression and accessibility testing?

Yes, this Skill covers visual regression and accessibility testing. It provides advanced E2E testing techniques to ensure your automated test suites validate visual consistency and application accessibility.

What's the best way to debug flaky E2E tests?

The best way to debug flaky E2E tests is to apply targeted debugging strategies. This Skill addresses debugging strategies and fundamental concepts to help you understand what to test and avoid in E2E scenarios.

Can I use this Skill to set up parallel E2E testing?

Yes, you can use this Skill to set up parallel E2E testing. It explores advanced techniques like parallel testing to help you build fast, reliable, and maintainable automated test suites.

When should I avoid E2E testing for user workflows?

You should avoid E2E testing when validating isolated component logic or internal functions. This Skill outlines E2E testing fundamentals to help you understand exactly what to test and what to avoid in E2E scenarios.