e2e-testing-standards

Evaluate project inputs to guide multi-browser Playwright or Cypress end-to-end testing standards.

17|1|Updated Jun 8, 2025
One-click install
npx skills add https://github.com/williamzujkowski/standards --skill e2e-testing-standards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing-standards
Source: https://github.com/williamzujkowski/standards/tree/main/skills/testing/e2e-testing
Command: npx skills add https://github.com/williamzujkowski/standards --skill e2e-testing-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Provides standards for end-to-end testing to validate complete user journeys, ensure reliability, and prevent flaky tests in real-world scenarios.

Core Features & Use Cases

  • E2E Framework Guidance: Playwright and Cypress setup patterns, Page Object Model usage, and CI integration.
  • Best Practices & Anti-Flakiness: Selector strategies, waits, test isolation, and debugging approaches.
  • Implementation Guidance: Playwright/Cypress configuration, test organization, and CI/CD integration patterns.

Quick Start

Use the e2e-testing Skill to scaffold a Playwright or Cypress end-to-end test suite and integrate with your CI pipeline.

Frequently Asked Questions about e2e-testing-standards

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

FAQPage Schema
How do I set up end-to-end testing with Playwright or Cypress?

End-to-end testing with Playwright or Cypress validates complete user journeys across browsers. Both frameworks support desktop and mobile testing; choose based on your tech stack. This Skill provides setup patterns, configuration guidance, and CI/CD integration steps to scaffold a multi-browser test suite.

What is the Page Object Model pattern and when should I use it?

The Page Object Model organizes test code by creating objects that represent UI pages, encapsulating selectors and interactions. Use it to reduce maintenance overhead, improve test readability, and make tests more resilient to UI changes—essential for scaling e2e test suites.

How do I prevent flaky tests in Playwright and Cypress?

Flaky tests fail intermittently due to timing issues and poor selectors. Prevention requires strategic waits, robust selector strategies, test isolation, and proper data management. This Skill covers anti-flakiness practices and debugging approaches to ensure reliable test execution.

Can I run Playwright and Cypress tests across multiple browsers in CI/CD?

Yes. Both frameworks support parallel execution across Chrome, Firefox, Safari, and mobile browsers. This Skill provides CI/CD integration patterns and configuration guidance to automate multi-browser test runs in your pipeline.

What selector strategies should I use for stable e2e tests?

Selector stability directly impacts test reliability. Effective strategies prioritize data attributes and semantic selectors over brittle CSS or XPath. This Skill details selector best practices alongside waits and test organization to minimize failures from UI changes.

How do I manage test data in Playwright and Cypress test suites?

Proper data management ensures test isolation and repeatability. Strategies include fixtures, database factories, and API-driven setup. This Skill provides implementation guidance for managing state across tests in both frameworks.