Testingintermediate
Write end-to-end tests using Playwright or Cypress
E2E Test Writer
Description
Write end-to-end tests using Playwright or Cypress. This skill is part of the Testing category and is designed for intermediate-level users. It automates common tasks and follows industry best practices to save you time and reduce errors.
Usage
Ask Claude: "Help me write end-to-end tests using playwright or cypress"
Or use: /skill e2e-test-writer
What It Does
- Analyzes the target code structure and dependencies
- Identifies edge cases and test scenarios
- Generates test files with proper setup and teardown
- Includes assertions for expected behavior
- Adds test utilities and helpers as needed
Example Prompt
Write Playwright e2e tests for the checkout flow
Example Output
Claude will generate well-structured test files with proper imports, setup, teardown, and assertions. Tests follow industry best practices and cover edge cases.
Configuration
This skill works out of the box with sensible defaults. You can customize its behavior by:
- Specifying your preferred coding style or framework version
- Providing additional context about your project structure
- Requesting specific output formats or patterns
- Setting constraints (e.g., "no external dependencies", "TypeScript only")