playwright-e2e-builder

Solid

Plan and build comprehensive Playwright E2E test suites with Page Object Model, authentication state persistence, custom fixtures, visual regression, and CI integration. Uses interview-driven planning to clarify critical user flows, auth strategy, test data approach, and parallelization before writing any tests.

Testing & QA 27,681 stars 2854 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Playwright E2E Test Suite Builder ## When to use Use this skill when you need to: - Set up Playwright from scratch in an existing project - Build E2E tests for critical user flows (signup, checkout, dashboards) - Implement Page Object Model for maintainable test architecture - Configure authentication state persistence across tests - Set up visual regression testing with screenshots - Integrate Playwright into CI/CD with sharding and retries ## Phase 1: Explore (Plan Mode) Enter plan mode. Before writing any tests, explore the existing project: ### Project structure - Find the tech stack: is this React, Next.js, Vue, SvelteKit, or another framework? - Check if Playwright is already installed (`playwright.config.ts`, `@playwright/test` in package.json) - Look for existing test directories (`e2e/`, `tests/`, `__tests__/`) - Check for existing E2E tests in Cypress, Selenium, or other frameworks (migration context) - Find the dev server command and port (`npm run dev`, `next dev`, etc.) ### Application structure - Identify the main routes/pages (look at router config, pages directory, or route files) - Find authentication flow (login page URL, auth API endpoints, token storage) - Check for test IDs in components (`data-testid`, `data-test`, `data-cy` attributes) - Look for API routes that tests might need to seed data through - Check `.env` files for test-specific environment variables ### CI/CD - Check for existing CI config (`.github/workflows/`, `.gitlab-ci.yml`, `Je...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
11 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category