From testing
Playwright end-to-end testing patterns including page object models, test scenarios, visual regression, and CI/CD integration. Use when building E2E tests, testing web applications, automating browser interactions, implementing page objects, running Playwright tests, debugging E2E failures, or when user mentions Playwright, E2E, browser automation, page object model, POM, visual regression, or end-to-end testing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/testing:playwright-e2eThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**CRITICAL: The description field above controls when Claude auto-loads this skill.**
examples/basic-usage.mdexamples/ci-cd-integration.mdexamples/debugging-techniques.mdexamples/page-object-pattern.mdexamples/visual-regression-testing.mdscripts/debug-playwright.shscripts/generate-pom.shscripts/init-playwright.shscripts/run-playwright.shscripts/run-visual-regression.shtemplates/e2e-test-form.spec.tstemplates/e2e-test-login.spec.tstemplates/page-object-advanced.tstemplates/page-object-basic.tstemplates/playwright.config.tstemplates/visual-regression.spec.tsCRITICAL: The description field above controls when Claude auto-loads this skill.
Provides comprehensive Playwright end-to-end testing patterns including:
Use scripts/init-playwright.sh to set up a new Playwright project:
bash scripts/init-playwright.sh [project-path]
This will:
Use scripts/generate-pom.sh to create Page Object Model classes:
bash scripts/generate-pom.sh <page-name> <url> [output-dir]
This will:
Use scripts/run-playwright.sh to execute tests:
bash scripts/run-playwright.sh [test-pattern] [browser] [options]
Options:
Use scripts/debug-playwright.sh for debugging:
bash scripts/debug-playwright.sh <test-file>
This will:
Use scripts/run-visual-regression.sh for visual testing:
bash scripts/run-visual-regression.sh [test-pattern] [update-snapshots]
This will:
class PageName {
readonly page: Page;
readonly locators: { /* selectors */ };
constructor(page: Page) { /* ... */ }
async navigateTo() { /* ... */ }
async performAction() { /* ... */ }
async verifyState() { /* ... */ }
}
npx claudepluginhub vanman2024/dev-lifecycle-marketplace --plugin testingWrites and debugs E2E tests with Playwright using Page Object Model, API mocking, and visual regression. Configures test infrastructure and CI integration.
Guides writing E2E tests with Playwright, configuring test infrastructure, debugging flaky browser tests, creating page objects, setting up fixtures, reporters, CI integration, API mocking, and visual regression testing.
Writes, runs, debugs, and maintains Playwright (@playwright/test) TypeScript tests for E2E UI behavior, API validation, responsive design, and visual regression in web apps.