test-ids-web
Installation
SKILL.md
Test IDs - Web
Test identifier patterns for web applications using data-testid attribute and @testing-library/react.
Documentation
This skill has comprehensive documentation:
- Production Examples - Real-world code examples from the codebase
- API Reference - Complete API documentation with official links
- Implementation Patterns - Best practices and anti-patterns
When to Use
Use test IDs for:
- E2E testing with tools like Playwright, Cypress
- Component testing with @testing-library/react
- Targeting specific elements in tests
- Stable selectors that don't break with UI changes