Cypress
Reliable Cypress E2E and component testing patterns for stable, low-flake browser suites.
- CCM score
- 61 of 100
- skills.sh installs
- 672
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers stable selectors, deterministic waiting, network stubbing with
cy.intercept, and cached authentication viacy.session - Includes component testing with
cy.mountalongside CI guidance for artifacts, retries, and Cypress Cloud parallelization - Enforces no fixed sleeps, no deep CSS selectors, and separation of stubbed tests from real-backend smoke tests
- Designed for teams debugging flaky UI tests or adding browser-level E2E coverage to a modern frontend
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill cypress -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cypress (E2E + Component Testing)
Overview
Cypress runs browser automation with first-class network control, time-travel debugging, and a strong local dev workflow. Use it for critical path E2E tests and for component tests when browser-level rendering matters.
Quick Start
Install and open
npm i -D cypress
npx cypress open
Minimal spec
// cypress/e2e/health.cy.ts
describe("health", () => {
it("loads", () => {
cy.visit("/");
cy.contains("Hello").should("be.visible");
});
});
Core Patterns
1) Stable selectors
Prefer data-testid (or data-cy) attributes for selectors. Avoid brittle CSS chains and text-only selectors for critical interactions.
<button data-testid="save-user">Save</button>
cy.get('[data-testid="save-user"]').click();
2) Deterministic waiting (avoid fixed sleeps)
Wait on app-visible conditions or network aliases rather than cy.wait(1000).
cy.intercept("GET", "/api/users/*").as("getUser");
cy.visit("/users/1");
cy.wait("@getUser");
cy.get('[data-testid="user-email"]').should("not.be.empty");
3) Network control with cy.intercept
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Categories
- Testing & QA, Frontend & UI Code
- First seen
- Jun 3, 2026
More from bobmatnyc/claude-mpm-skills
All 154- Session Compression672
- Opentelemetry658
- Hono Cloudflare651
- Wordpress Security Validation643
- Xlsx607
- Tanstack Query604
- Fastify590
- Api Design Patterns588
- Skill Creator577
- Git Workflow576
- Express Production528
- Golang Grpc525
- Axum517
- Hono Core511
- Zustand506
- Asyncio503
- Typescript Core496
- Bug Fix490
- Mypy487
- Celery484
- Threat Modeling484
- Wordpress Block Editor Fse484
- Supabase Backend Platform482
- Local Llm Ops478
Similar to Cypress
More Testing & QAplaywright-e2e-testingbobmatnyc/claude-mpm-skills2.7K installsModern end-to-end testing with Playwright for cross-browser automation, auto-waiting, and a built-in test runner.
e2e-testing-patternswshobson/agents25.6K installsPractical E2E testing guidance for Playwright and Cypress covering selectors, flaky-test fixes, and debugging workflows.
e2e-testing-automationaj-geddes/useful-ai-prompts698 installsPractical end-to-end browser test guide covering Playwright, Cypress, and Selenium with Page Object Model patterns.
frontend-testingaj-geddes/useful-ai-prompts516 installsComprehensive frontend test suites across Jest, Vitest, React Testing Library, and Cypress, with five reference guides.
vue-testing-best-practicesantfu/skills17.2K installsTesting guide for Vue.js components covering Vitest, Vue Test Utils, mocking, and Playwright E2E tests.
e2e-testinghieutrtr/ai1-skills1.6K installsPlaywright E2E testing patterns for full-stack Python/React apps, covering page objects, selectors, waits, and auth reuse.