What problem does it solve?
This Skill provides Cypress end-to-end and component testing patterns, commands, selectors, and CI configuration so teams can reliably write, run, and maintain browser tests without brittle selectors or flaky CI runs.
Core Features & Use Cases
- Commands & Patterns: Examples for interactive runner, headless CI runs, targeted spec execution, and component-only runs.
- Test Structure & Support: Recommended file layout for e2e specs, fixtures, support files, and custom commands to create reusable test helpers and sessions.
- Selector Strategy & Best Practices: Guidance to prefer data-testid and accessible attributes, use cy.intercept and cy.session, avoid fixed waits, and keep tests independent.
- CI Integration & Configuration: GitHub Actions example, cypress.config.ts recommendations for timeouts, retries, viewport settings, video/screenshot options, and component dev server setup.
- Use Case: Create authentication and dashboard E2E tests, component tests for UI components, and a CI job that runs tests headlessly with retries.
Quick Start
Create Cypress E2E and component tests for the login and dashboard flows and add a GitHub Actions workflow to run them.