Generate Cypress test suites with custom commands, fixtures, and CI integration
Create Cypress test suite for:
Application Type: {{APP_TYPE}}
Test Scope: {{SCOPE}}
CI Platform: {{CI_PLATFORM}}
Generate complete Cypress structure:
1. **Configuration (cypress.config.ts):**
- Base URL
- Viewport settings
- Timeouts
- Retry configuration
- Video/screenshot settings
- Environment variables
2. **Support Files:**
- commands.ts (custom commands)
- e2e.ts (global config)
- component.ts (component testing)
3. **Custom Commands:**
- Login command
- API setup commands
- Assertion commands
- Utility commands
- TypeScript definitions
4. **Fixtures:**
- Test data files
- API mock responses
- User data
- Dynamic fixtures
5. **Page Objects:**
- Page class pattern
- Element selectors
- Action methods
- Assertion methods
6. **Test Organization:**
- Spec file structure
- Test grouping
- Tags and filtering
- Test isolation
7. **Network Handling:**
- Intercept patterns
- Stub responses
- Wait for requests
- Request assertions
8. **Visual Testing:**
- Screenshot comparison
- Percy integration
- Snapshot management
9. **CI Integration:**
- GitHub Actions workflow
- Parallel execution
- Dashboard recording
- Artifact handling
10. **Reporting:**
- Mochawesome setup
- JUnit reports
- Custom reporters
Include component testing setup.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{APP_TYPE][{SCOPE][{CI_PLATFORM]