E2e Setup
Configure comprehensive end-to-end testing suite with framework selection and CI integration
$ npx claude-code-templates@latest --command="testing/e2e-setup" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
E2E Setup
Configure comprehensive end-to-end testing suite with framework optimization: $ARGUMENTS
Current E2E Context
- Application type: !
find . -name "index.html" -o -name "app.js" -o -name "App.tsx" | head -1 && echo "Web app" || echo "Detect app type" - Framework: !
grep -l "react\\|vue\\|angular" package.json 2>/dev/null || echo "Detect framework" - Existing tests: !
find . -name "cypress" -o -name "playwright" -o -name "e2e" | head -1 || echo "No E2E setup" - CI system: !
find . -name ".github" -o -name ".gitlab-ci.yml" | head -1 || echo "No CI detected"
Task
Implement comprehensive end-to-end testing with framework selection and optimization:
Framework Focus: Use $ARGUMENTS to specify Cypress, Playwright, WebDriver, Puppeteer, mobile testing, or auto-detect best fit E2E Testing Framework:- Framework Selection & Setup - Choose optimal E2E tool, install dependencies, configure basic settings, setup project structure
- Test Environment Configuration - Setup test environments, configure base URLs, implement environment switching, optimize test isolation
- Page Object Patterns - Design page object model, create reusable components, implement element selectors, optimize maintainability
- Test Data Management - Setup test data strategies, implement fixtures, configure database seeding, design cleanup procedures
- Cross-Browser Testing - Configure multi-browser execution, setup mobile testing, implement responsive testing, optimize compatibility
- CI/CD Integration - Configure automated execution, setup parallel testing, implement reporting, optimize performance
Related Claude Code Commands
Generate Tests
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Test Coverage
Analyze and improve test coverage with comprehensive reporting and gap identification
Generate Test Cases
Generate comprehensive test cases with automatic analysis and coverage optimization
Write Tests
Write comprehensive unit and integration tests with proper mocking and coverage
Test Automation Orchestrator
Orchestrate comprehensive test automation with intelligent execution and optimization
Setup Comprehensive Testing
Setup complete testing infrastructure with framework configuration and CI integration
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.