cypress-selectors
OfficialStandardize Cypress selectors.
AuthorNextSpark-js
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust, centralized system for managing data-cy attributes in Cypress tests, ensuring consistency and maintainability across the project.
Core Features & Use Cases
- 3-Level Selector System: Organizes selectors into CORE, BLOCK, and THEME levels for clear separation of concerns.
- Helper Functions: Offers
sel(),cySelector(), andentitySelectors()for easy integration into components and tests. - Use Case: When developing a new feature, use this Skill to add
data-cyattributes to all interactive elements in your components and define corresponding selectors in your Page Object Models (POMs) for reliable end-to-end testing.
Quick Start
Use the cypress-selectors skill to add data-cy attributes to the button with the text 'Submit' in the file '/path/to/your/component.tsx'.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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-selectors Download link: https://github.com/NextSpark-js/nextspark/archive/main.zip#cypress-selectors Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.