e2e-testing
This skill teaches you how to architect reliable end-to-end tests using Playwright, covering design patterns and maintenance strategies that scale. Learn to structure test suites for long-term sustainability, handle common testing challenges, and apply industry-proven techniques to keep your automation efforts efficient and effective.
e2e-testing teaches you how to architect reliable end-to-end tests using Playwright with design patterns and maintenance strategies that scale. The skill covers structuring test suites for long-term sustainability through proven patterns like the Page Object Model, proper fixture organization, and modular test design. You'll learn to apply industry-proven techniques that keep your automation efforts efficient and effective, including best practices for element locator strategies, test organization structure, and handling common testing challenges that arise as your test suite grows.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-03-05
e2e-testing teaches you how to architect reliable end-to-end tests using Playwright with design patterns and maintenance strategies that scale. The skill covers structuring test suites for long-term sustainability through proven patterns like the Page Object Model, proper fixture organization, and modular test design. You'll learn to apply industry-proven techniques that keep your automation efforts efficient and effective, including best practices for element locator strategies, test organization structure, and handling common testing challenges that arise as your test suite grows.
Use it when
- e2e-testing provides comprehensive guidance on implementing Page Object Model (POM) architecture to organize and scale your E2E tests.
- e2e-testing equips you with strategies to diagnose and fix flaky tests through proper wait strategies and race condition handling.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
xu-xiang/everything-claude-code-zh/e2e-testing · repository language: JavaScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What are the main Playwright E2E testing patterns for building maintainable test suites?
e2e-testing teaches you how to architect reliable end-to-end tests using Playwright with design patterns and maintenance strategies that scale. The skill covers structuring test suites for long-term sustainability through proven patterns like the Page Object Model, proper fixture organization, and modular test design. You'll learn to apply industry-proven techniques that keep your automation efforts efficient and effective, including best practices for element locator strategies, test organization structure, and handling common testing challenges that arise as your test suite grows.
How do you set up Page Object Model (POM) architecture for organizing and scaling E2E tests?
e2e-testing provides comprehensive guidance on implementing Page Object Model (POM) architecture to organize and scale your E2E tests effectively. The skill teaches you how to structure your test suites using POM principles, which separates test logic from page interactions and makes your tests more maintainable as they grow. By learning POM setup through e2e-testing, you'll understand how to create reusable page objects, manage test fixtures, and organize your test code in ways that support long-term scalability and reduce maintenance overhead.
What strategies does e2e-testing provide for diagnosing and fixing flaky tests?
e2e-testing equips you with strategies to diagnose and fix flaky tests through proper wait strategies and race condition handling. The skill covers how to implement reliable waits using network timing strategies, animation timing fixes, and element locator techniques that eliminate race conditions. You'll learn flaky test detection methods and how to apply test retries and quarantine approaches when needed. The curriculum also teaches you how to handle common timing issues that cause test instability, ensuring your test suite remains reliable across different environments and execution speeds.
How can you set up CI/CD integration with artifact management like screenshots, traces, and videos?
e2e-testing covers how to set up CI/CD integration with comprehensive artifact management for your Playwright tests. The skill teaches you how to configure Playwright for GitHub Actions integration, implement screenshot capture strategies, enable trace recording for debugging, and set up video recording for failed tests. You'll learn test report generation techniques and how to manage artifacts effectively within your CI/CD pipeline. e2e-testing provides the configuration knowledge needed to ensure your automated tests produce actionable diagnostic data that helps you quickly identify and resolve issues in your deployment pipeline.
What does e2e-testing cover regarding multi-browser testing and test environment configuration?
e2e-testing teaches you how to handle Playwright configuration for multi-browser testing scenarios and proper environment isolation. The skill includes guidance on configuring Playwright across different browsers, managing test environments for specialized use cases like Web3/wallet testing and financial transaction flows, and ensuring environment-specific setup through proper fixtures and configuration. You'll learn how to structure your Playwright configuration to support multiple browsers while maintaining test reliability and managing environment-specific concerns like wallet connections and transaction handling.
How does e2e-testing help you build an end-to-end testing framework that scales?
e2e-testing teaches you how to architect a scalable end-to-end testing framework by combining design patterns, maintenance strategies, and industry-proven techniques. The skill covers test organization structure, fixture management, element locator strategies, and proper wait handling—all foundational elements for a framework that grows with your application. By learning through e2e-testing, you'll understand how to structure your tests for sustainability, handle race conditions and timing issues proactively, and apply best practices that prevent common pitfalls. This comprehensive approach ensures your testing framework remains efficient and effective as your test suite expands.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
E2E 测试模式 (E2E Testing Patterns)
用于构建稳定、快速且易于维护的 E2E 测试套件的全面 Playwright 模式。
测试文件组织 (Test File Organization)
tests/
├── e2e/
│ ├── auth/
│ │ ├── login.spec.ts
│ │ ├── logout.spec.ts
│ │ └── register.spec.ts
│ ├── features/
│ │ ├── browse.spec.ts
│ │ ├── search.spec.ts
│ │ └── create.spec.ts
│ └── api/
│ └── endpoints.spec.ts
├── fixtures/
│ ├── auth.ts
│ └── data.ts
└── playwright.config.ts
页面对象模型 (Page Object Model - POM)
```typescript import { Page, Locator } from '@playwright/test'
export class ItemsPage { readonly page: Page readonly searchInput: Locator readonly itemCards: Locator readonly createButton: Locator
constructor(page: Page) { this.page = page this.searchInput = page.locator('[data-testid="search-input"]') this.itemCards = page.locator('[data-testid="item-card"]') this.createButton = page.locator('[data-testid="create-btn"]') }
async goto() { await this.page.goto('/items') await this.page.waitForLoadState('networkidle') }
(truncated - see the full file via the links below)
File tree — 1 file
skills/e2e-testing/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Learn Playwright E2E testing patterns and best practices for building maintainable test suites”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
This skill teaches you how to build robust end-to-end test suites using Playwright, covering essential patterns and industry best practices. You'll develop the expertise to write maintainable, scalable tests that catch real-world issues before they reach production.
Playwright Expert equips you with practical knowledge for building robust browser automation tests. Explore scripting techniques, execution strategies, and debugging methods to validate web applications across multiple browsers efficiently.
This skill equips you to write comprehensive end-to-end tests for user interface features using Playwright's testing framework. It guides you through structuring tests with page object models and data factories, enabling maintainable and scalable test suites that validate real user workflows.
This skill equips you with strategies to identify root causes of flaky Playwright e2e tests and implement reliable fixes. Learn how to stabilize test execution, reduce false negatives, and build confidence in your test suite through proven troubleshooting patterns.
This skill provides a foundational .NET framework for automating user interface testing across applications. It enables developers to construct comprehensive test scenarios with built-in utilities for interaction and validation, streamlining the QA process for .NET projects.
This skill equips you with practical testing techniques tailored to Uno platform development in the .NET ecosystem. Discover how to structure test suites, execute validation workflows, and ensure code quality across your cross-platform applications.
More skills e2e-tester (MIT) · Playwright E2e Testing (NOASSERTION) · playwright (MIT) · playwright-testing (MIT) · qa/e2e-playwright (MIT) · webapp-testing (MIT)