e2e-testing-patterns

Automate end-to-end testing workflows with Playwright and Cypress.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ekremmkasap/jarvis --skill e2e-testing-patterns-ekremmkasap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing-patterns
Source: https://github.com/ekremmkasap/jarvis/tree/main/server/agent_prompts/wshobson/plugins/developer-essentials/skills/e2e-testing-patterns
Command: npx skills add https://github.com/ekremmkasap/jarvis --skill e2e-testing-patterns-ekremmkasap

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

End-to-end testing complexity slows delivery and undermines confidence in new features; this skill provides structured guidance to build robust, maintainable test suites with Playwright and Cypress.

Core Features & Use Cases

  • Standardized patterns for E2E testing (Page Object Model, fixtures, assertion strategies)
  • Cross-browser and cross-device testing guidance with Playwright and Cypress
  • Best-practice templates, debugging aids, and reusable test components to speed up delivery

Quick Start

Run a sample Playwright end-to-end test against your running application to validate critical user flows.

Frequently Asked Questions about e2e-testing-patterns

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

FAQPage Schema
What are the best patterns for structuring maintainable end-to-end tests?

To write deterministic Playwright tests, you should implement network mocking, structured fixtures, and explicit waiting strategies. This skill provides reusable templates and best-practice guidance to stabilize and validate critical user journeys.

Can I use Cypress and Playwright for cross-browser testing with this skill?

Yes, this skill supports cross-browser and cross-device testing workflows using both Playwright and Cypress. It offers guidance on validating critical user journeys and performing accessibility checks across different browser environments.

How do I handle network mocking and fixtures in E2E testing?

Network mocking and fixtures are core E2E testing patterns supported here to isolate tests and ensure deterministic results. The skill automates these workflows, providing best-practice templates for mocking network requests and managing test data.

Does this skill include accessibility checks for end-to-end testing?

Yes, accessibility checks are included within the end-to-end testing scope. The skill automates validation of critical user journeys across multiple browsers while integrating accessibility checks to enforce comprehensive testing best practices.

Why are my Playwright E2E tests flaky and how can I fix them?

Flaky Playwright E2E tests often result from poor waiting strategies and shared state. This skill addresses these constraints by enforcing deterministic test patterns, robust waiting strategies, and reusable debugging aids for maintainable suites.