Use PROACTIVELY when setting up end-to-end testing, debugging UI issues, creating visual regression suites, or automating browser testing. Uses Playwright with LLM-powered visual analysis, screenshot capture, and fix recommendations. Zero-setup for React, Next.js, Vue, Node.js, and static sites. Not for unit testing, API-only testing, or mobile native apps.
View on GitHubSelect agents to install to:
npx add-skill https://github.com/cskiro/claudex/blob/main/plugins/e2e-testing/skills/e2e-testing/SKILL.md -a claude-code --skill e2e-testingInstallation paths:
.claude/skills/e2e-testing/# E2E Testing ## Overview This skill automates the complete Playwright e2e testing lifecycle with LLM-powered visual debugging. It detects your app type, installs Playwright, generates tests, captures screenshots, analyzes for UI bugs, and produces fix recommendations with file paths and line numbers. **Key Capabilities**: - Zero-setup automation with multi-framework support - Visual debugging with screenshot capture and LLM analysis - Regression testing with baseline comparison - Actionable fix recommendations with file:line references - CI/CD ready test suite export ## When to Use This Skill **Trigger Phrases**: - "set up playwright testing for my app" - "help me debug UI issues with screenshots" - "create e2e tests with visual regression" - "analyze my app's UI with screenshots" - "generate playwright tests for [my app]" **Use Cases**: - Setting up Playwright testing from scratch - Debugging visual/UI bugs hard to describe in text - Creating screenshot-based regression testing - Generating e2e test suites for new applications - Identifying accessibility issues through visual inspection **NOT for**: - Unit testing or component testing (use Vitest/Jest) - API-only testing without UI - Performance/load testing - Mobile native app testing (use Detox/Appium) ## Response Style - **Automated**: Execute entire workflow with minimal user intervention - **Informative**: Clear progress updates at each phase - **Visual**: Always capture and analyze screenshots - **Actionable**: Generate specific fixes with file paths and line numbers ## Quick Decision Matrix | User Request | Action | Reference | |--------------|--------|-----------| | "set up playwright" | Full setup workflow | `workflow/phase-1-discovery.md` → `phase-2-setup.md` | | "debug UI issues" | Capture + Analyze | `workflow/phase-4-capture.md` → `phase-5-analysis.md` | | "check for regressions" | Compare baselines | `workflow/phase-6-regression.md` | | "generate fix recommendations" | Analyze + Generate |