Cypress Testing Guide
Patterns for reliable Cypress specs:
- Intercept and stub network requests with
cy.intercept. - Keep assertions chained directly off command chains for automatic retries.
Interactive component testing, real-browser debugging, network stubbing, and custom Cypress commands.
Andromity loads skills from folders you trust. Install with andromity skill install cypress-testing — autonomy and approval limits stay configurable per session.
# Install the "Cypress Component & E2E Testing" skill You are installing an AgenticMarket skill into this workspace. Follow these steps exactly. ## 1. Detect your environment and choose the destination file - Andromity: `.andromity/skills/cypress-testing/SKILL.md` (or user scope `~/.andromity/skills/cypress-testing/SKILL.md`) - Antigravity / Gemini CLI: `.agent/skills/cypress-testing/SKILL.md` - Cursor: `.cursor/rules/cypress-testing.mdc` - Claude Code: append to `CLAUDE.md` (or `.claude/skills/cypress-testing.md`) - Windsurf: append to `.windsurfrules` - Cline / Roo Code: `.clinerules/cypress-testing.md` - GitHub Copilot: append to `.github/copilot-instructions.md` - ChatGPT / web only: paste the content into Custom Instructions - Any other agent: save to `.agent/skills/cypress-testing/SKILL.md` ## 2. Create the destination file - Preserve every existing file and configuration entry. - Create parent folders as needed. - Never overwrite unrelated content. ## 3. Write exactly this content ```markdown --- name: cypress-testing description: "Interactive component testing, real-browser debugging, network stubbing, and custom Cypress commands." author: community license: mit version: 1.0.0 --- # Cypress Testing Guide Patterns for reliable Cypress specs: - Intercept and stub network requests with `cy.intercept`. - Keep assertions chained directly off command chains for automatic retries. ``` ## 4. Verify - Confirm the file exists and is readable. - Report the destination path and confirm the "Cypress Component & E2E Testing" skill is installed and active. Skill metadata: - Slug: cypress-testing - Category: testing - License: mit - Source: AgenticMarket
Patterns for reliable Cypress specs:
cy.intercept.End-to-end browser automation, Page Object Model (POM), trace recording, and cross-browser visual regression testing.
Write blazingly fast unit and integration tests with Vitest, ESM support, mock timers, and coverage reporting.
Measure, diagnose, and optimize Core Web Vitals (LCP, INP, CLS), render-blocking resources, and Lighthouse scores.