E2e Testing
Playwright E2E testing patterns covering Page Object Model, CI/CD setup, artifact capture, and flaky test triage.
- CCM score
- 67 of 100
- skills.sh installs
- 14.1K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers test file layout, Page Object Model classes, test structure, and a multi-browser Playwright configuration with reporters
- Includes flaky test handling through
test.fixme,--repeat-each, and--retriesruns, plus fixes for races, network timing, and animations - Manages screenshots, traces, and videos, and shows a GitHub Actions workflow that uploads the HTML report on every run
- Designed for teams writing Playwright tests, structuring page objects, or fixing flaky E2E runs in CI
Install
$ npx -y skills add affaan-m/ecc --skill e2e-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
E2E Testing Patterns
Comprehensive Playwright patterns for building stable, fast, and maintainable E2E test suites.
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)
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')
}
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Testing & QA, Frontend & UI Code
- First seen
- Jul 14, 2026
Questions
What does the e2e-testing skill cover for Playwright?
The e2e-testing skill gives Playwright patterns for building stable, fast, and maintainable end-to-end test suites. It covers the Page Object Model, Playwright configuration, CI/CD integration, artifact management such as screenshots, traces and video, and strategies for fixing flaky tests.
How do I install the e2e-testing skill?
Run npx -y skills add affaan-m/ecc --skill e2e-testing -y in your project to install it. Once installed, the agent can write Playwright tests, structure page objects, and help fix flaky E2E runs in CI.
Where does e2e-testing rank in its category?
The e2e-testing skill sits in the Testing & QA category and ranks in the top 50 there. Other skills in that category include tdd, webapp-testing and test-driven-development.
Does the e2e-testing skill cover wallet or financial flow testing?
Yes, the SKILL.md includes patterns for mocking a wallet provider in Playwright tests and for testing critical trade flows. It also shows how to skip such tests on production so real money is not affected.
More from affaan-m/ecc
All 257- Strategic Compact14K
- Laravel Patterns13.8K
- Verification Loop13.6K
- Codebase Onboarding13.6K
- Springboot Tdd13.4K
- Security Scan13.4K
- Django Tdd13.3K
- Deployment Patterns13.3K
- Search First13.3K
- Deep Research13.2K
- Eval Harness13.1K
- Continuous Learning13K
- Cpp Testing13K
- Jpa Patterns13K
- Rust Patterns12.9K
- Kotlin Coroutines Flows12.9K
- Configure Ecc12.9K
- Laravel Tdd12.8K
- Agentic Engineering12.8K
- Clickhouse Io12.7K
- Cost Aware Llm Pipeline12.7K
- Kotlin Patterns12.7K
- Iterative Retrieval12.6K
- Django Verification12.6K
Similar to E2e Testing
More Testing & QAplaywright-best-practicescurrents-dev/playwright-best-practices-skill111.2K installsComprehensive guidance for writing, debugging, and maintaining Playwright tests across E2E, component, API, visual, accessibility, security, Electron, and exten
playwright-testingalinaqi/maggy3.4K installsPlaywright E2E testing skill covering page objects, locator strategy, auth setup, and cross-browser CI configuration.
playwright-expertjeffallan/claude-skills5.8K installsPlaywright E2E test specialist with role-based selectors, page object models, and flaky-test debugging.
playwright-e2e-testingfugazi/test-automation-skills-agents646 installsAuthoring and maintaining versioned Playwright TypeScript UI specs for browser user flows, with API-setup and mocking.
webapp-testingvudovn/ag-kit331 installsWeb application testing guide covering E2E flows, Playwright setup, and deep route audits.
test-automation-frameworkaj-geddes/useful-ai-prompts507 installsModular test automation framework built on Page Object Model, fixtures, configuration, and reporting.