cypress-tests

Automate writing, fixing, and reviewing Cypress acceptance tests for the Shopsys storefront.

349|98|Updated Feb 1, 2018
One-click install
npx skills add https://github.com/shopsys/shopsys --skill cypress-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cypress-tests
Source: https://github.com/shopsys/shopsys/tree/main/.agents/skills/cypress-tests
Command: npx skills add https://github.com/shopsys/shopsys --skill cypress-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of writing, fixing, and reviewing Cypress acceptance tests for the Shopsys storefront, ensuring code quality and adherence to project conventions.

Core Features & Use Cases

  • Test Writing & Maintenance: Create new Cypress tests, update existing ones, and debug failures efficiently.
  • Convention Enforcement: Ensures tests use TID-based selectors, proper snapshot setups, and follow defined support file patterns.
  • Use Case: When a new feature is developed, use this Skill to write comprehensive end-to-end tests that verify its functionality and integration with the storefront.

Quick Start

Use the cypress-tests skill to write a new Cypress test for the user login functionality.

Frequently Asked Questions about cypress-tests

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

FAQPage Schema
How do I write Cypress acceptance tests for a storefront?

To write Cypress acceptance tests for a storefront, you can automate test creation, fixing, and reviewing while enforcing project conventions like TID-based selectors and snapshot setup for deterministic suites.

What are TID-based selectors in Cypress e-commerce testing?

TID-based selectors are a project convention enforced during Cypress e-commerce testing to ensure deterministic and maintainable acceptance test suites for the storefront.

How do I fix failing Cypress acceptance tests in my storefront project?

You can fix failing Cypress acceptance tests by automating the debugging and updating process, ensuring proper snapshot setups and support file patterns are followed for maintainable test suites.

Can I use this to enforce project conventions for snapshot setup in Cypress?

Yes, you can enforce project conventions including proper snapshot setups, TID-based selectors, and defined support file patterns to maintain deterministic Cypress acceptance test suites.

What is the best way to review Cypress acceptance tests for maintainability?

The best way to review Cypress acceptance tests for maintainability is by automating the review process to enforce project conventions like TID-based selectors and defined support file patterns.