cypress-e2e

Write Cypress End-to-End UAT tests with POM and BDD patterns.

3|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/NextSpark-js/nextspark --skill cypress-e2e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cypress-e2e
Source: https://github.com/NextSpark-js/nextspark/tree/main/.claude/skills/cypress-e2e
Command: npx skills add https://github.com/NextSpark-js/nextspark --skill cypress-e2e

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework and best practices for writing reliable End-to-End (UAT) tests using Cypress, ensuring application quality and reducing manual testing efforts.

Core Features & Use Cases

  • Structured Test Writing: Enforces patterns like Page Object Model (POM) and BDD for maintainable tests.
  • Session Management: Utilizes cy.session() for efficient, cached test runs.
  • Role-Based Testing: Facilitates testing user flows for different roles (owner, member, etc.).
  • BDD Documentation: Integrates Behavior-Driven Development documentation directly with tests.
  • Use Case: When developing a new feature for user management, use this Skill to create automated UAT tests that verify owner and member roles can successfully create, read, update, and delete users, ensuring the feature functions as expected before release.

Quick Start

Use the cypress-e2e skill to generate a new UAT test file for the 'tasks' entity with the 'owner' role.

Frequently Asked Questions about cypress-e2e

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a Page Object Model in Cypress for UAT testing?

Implement a Page Object Model in Cypress by structuring test files to separate UI element locators from test logic, ensuring maintainable and scalable End-to-End UAT tests across different user roles.

How does cy.session work for managing authentication in Cypress E2E tests?

The cy.session command caches authentication cookies and localStorage across multiple test runs, preventing redundant login steps and ensuring deterministic tasks during batch execution of End-to-End tests.

What is the best way to structure BDD documentation with Cypress test files?

Structure BDD documentation by integrating Behavior-Driven Development syntax directly within Cypress test files, mapping application behaviors to automated UAT test execution for clear requirements traceability.

Can I test role-based access control for different user roles using Cypress?

Yes, you can test role-based access control by utilizing cy.session to cache distinct authentication states for roles like owner and member, verifying their specific CRUD permissions through automated E2E tests.

How do I run batch execution and apply tags to Cypress E2E test suites?

Run batch execution and apply tags by configuring your Cypress test scripts to filter and execute specific UAT test suites, ensuring deterministic task completion and efficient continuous integration workflows.