Solid Playwright foundation with Page Object Model examples, configuration patterns, and the flaky test handling you actually need in production. The artifact management section shows how to capture screenshots, traces, and videos strategically rather than drowning in noise. CI/CD integration is GitHub Actions ready, and the wallet mocking pattern is practical if you're testing web3 flows without burning real ETH. The flaky test section gets specific about race conditions and animation timing issues instead of just saying "use retries." Use this when you're setting up E2E from scratch or your existing suite has become maintenance hell. The quarantine pattern for known flaky tests is honest engineering.

skills.sh installs
5.9K
GitHub stars
229.1K
last updated
Jul 14, 2026

Install

$ npx -y skills add affaan-m/everything-claude-code --skill e2e-testing --agent claude-code

Installs into .claude/skills of the current project.

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')
  }

Sponsors

Details

Repository
github.com/affaan-m/everything-claude-code
Category
Testing & QA
First seen
Apr 16, 2026

More from affaan-m/everything-claude-code

All 256
1alinaqi avatarplaywright-testingalinaqi/claude-bootstrapplaywright testing2.5Kskills.sh installs
2manutej avatarplaywright-visual-testingmanutej/luxor-claude-marketplaceBrowser automation, visual testing, and screenshot validation using Playwright MCP server for accelerated web development. Master visual regression testing, aut1.4Kskills.sh installs
3secondsky avatarvitest-testingsecondsky/claude-skillsModern TypeScript/JavaScript testing with Vitest. Fast unit and integration tests, native ESM support, Vite-powered HMR, and comprehensive mocking. Use for test1.3Kskills.sh installs
4am-will avatartdd-test-writeram-will/codex-skillsWrites failing tests first for test-driven development and hands off a strict implementation contract that requires agents to make those tests pass without weak857skills.sh installs
5sickn33 avatarunit-testing-test-generatesickn33/antigravity-awesome-skillsunit testing test generate431skills.sh installs
6onewave-ai avatartest-coverage-improveronewave-ai/claude-skillsAnalyze test coverage gaps and generate tests to improve coverage. Use when improving test coverage, finding untested code, or writing missing tests.306skills.sh installs