cypress-testing

Community

Robust Cypress E2E & component testing

Authoretylsarin
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cypress-testing
Download link: https://github.com/etylsarin/opencastle/archive/main.zip#cypress-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.