testing-library/cypress-testing-library
🐅 Simple and complete custom Cypress commands and utilities that encourage good testing practices. observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 79
- Release rhythm 49
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 231.0
- age_days: 3071
- days_rel: 126
- days_push: 126
- n_releases_24m: 3
Adoption not part of the score
1823 stars · 159 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Cypress plugin that adds custom commands exposing DOM Testing Library query methods (getByLabelText, getByText, etc.) inside Cypress end-to-end tests. It encourages accessible, implementation-detail-free selectors in browser tests.
Use cases
- use testing-library queries in cypress tests
- find elements by accessible label in e2e tests
- write cypress tests without brittle css selectors
- add getByRole and getByText commands to cypress
- share dom testing library selectors between unit and e2e tests
When to choose
- you already use Cypress and want Testing Library-style queries
- you want tests that select elements the way users do (labels, roles, text)
When to avoid
- you use Playwright or another e2e runner instead of Cypress
- you only need unit-level DOM testing without a browser runner
Facets
library · maturity active
testing e2e-testing testing developer-tools web-development browser cypress dom-testing-library e2e custom-commands query-helpers nodejs javascript
1 source
- readme: https://github.com/testing-library/cypress-testing-library · fetched 2026-08-28 · 35b50cc79250
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| testing-library/cypress-testing-library | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="testing-library/cypress-testing-library")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem