Top AI Repos β open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
π Simple and complete custom Cypress commands and utilities that encourage good testing practices.
| Date | Stars |
|---|---|
| 2026-07-24 | 1823 |
| 2026-07-25 | 1823 |
| 2026-07-28 | 1823 |
| 2026-07-30 | 1823 |
| 2026-08-06 | 1823 |
Today
β stars today
This week
β stars this week
This month
β stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="center">
<h1>Cypress Testing Library</h1>
<a href="https://www.emojione.com/emoji/1f405">
<img
height="80"
width="80"
alt="tiger"
src="https://raw.githubusercontent.com/testing-library/cypress-testing-library/main/other/tiger.png"
/>
</a>
<p>Simple and complete custom Cypress commands and utilities that encourage good
testing practices.</p>
[**Read the docs**](https://testing-library.com/cypress) |
[Edit the docs](https://github.com/alexkrolick/testing-library-docs)
</div>
---
<!-- prettier-ignore-start -->
[![Build Status][build-badge]][build]
[![Code Coverage][coverage-badge]][coverage]
[![version][version-badge]][package]
[![downloads][downloads-badge]][npmtrends]
[![MIT License][license-badge]][license]
[![All Contributors][all-contributors-badge]](#contributors-)
[![PRs Welcome][prs-badge]][prs]
[![Code of Conduct][coc-badge]][coc]
<!-- prettier-ignore-end -->
<div align="center">
<a href="https://testingjavascript.com">
<img
width="500"
alt="TestingJavaScript.com Learn the smart, efficient way to test any JavaScript application."
src="https://raw.githubusercontent.com/testing-library/cypress-testing-library/main/other/testingjavascript.jpg"
/>
</a>
</div>
## The problem
You want to use [`DOM Testing Library`][dom-testing-library] methods in your
[Cypress][cypress] tests.
## This solution
This allows you to use all the useful
[`DOM Testing Library`][dom-testing-library] methods in your tests.
## Table of Contents
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Installation](#installation)
- [With TypeScript](#with-typescript)
- [Intellisense for JavaScript with VS Code](#intellisense-for-javascript-with-vs-code)
- [Usage](#usage)
- [Differences from DOM Testing Library](#differences-from-dom-testing-library)
- [Config testIdAttribute](#config-testidattribute)
- [Other Solutions](#other-solutions)
- [Issues](#issues)
- [π Bugs](#-bugs)
- [π‘ Feature Requests](#-feature-requests)
- [Contributors β¨](#contributors-)
- [LICENSE](#license)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
## Installation
This module is distributed via [npm][npm] which is bundled with [node][node] and
should be installed as one of your project's `devDependencies`:
```
npm install --save-dev @testing-library/cypress
```
### With TypeScript
Typings should be added as follows in `tsconfig.json`:
```json
{
"compilerOptions": {
"types": ["cypress", "@testing-library/cypress"]
}
}
```
### Intellisense for JavaScript with VS Code
If you're not using TypeScript, you use VS Code, and want to have
code-completion with the methods from this library, simply add the following
line to your project's root-level `jsconfig.json` file:
```json
{
"include": ["node_modules/cypress", "./cypress/**/*.js"]
}
```
## Usage
`Cypress Testing Library` extends Cypress' `cy` command.
Add this line to your project's `cypress/support/commands.js`:
```javascript
import '@testing-library/cypress/add-commands'
```
You can now use all of `DOM Testing Library`'s `findBy` and `findAllBy`
commands.
[See the `DOM Testing Library` docs for reference](https://testing-library.com)
You can find
[all Library definitions here](https://github.com/testing-library/cypress-testing-library/tree/main/types/index.d.ts).
To configure DOM Testing Library, use the following custom command:
```javascript
cy.configureCypressTestingLibrary(config)
```
To show some simple examples (from
[cypress/e2e/find.cy.js](cypress/e2e/find.cy.js)):
```javascript
cy.findAllByText('Button Text').should('exist')
cy.findAllByText('Non-existing Button Text').should('not.exist')
cy.findAllByLabelText('Label text', {timeout: 7000}).should('exist')
cy.findAllByText('Jackie Chan').click()
// findAllByText _inside_ a form element
cy.get('form').findAllByText('Button Text').should('Excerpt of 25,185 characters
Read on GitHub34
Kent C. Dodds Β· @epicweb-dev Β· United States
19
MichaΓ«l De Boey Β· @BeanCounterBE / @iStart-be Β· Belgium
12
11
Nicky McCurdy
8
Simen Bekkhus Β· @cvpartner Β· Norway
5
3
AdriΓ Fontcuberta
3
2
2
2
2
Stefano Magni Β· https://preply.com
2
Weyert de Boer Β· United Kingdom
2
2
2
1
Alex Krolick Β· Consulting @ Super Far North Software, LLC
1
Ernesto GarcΓa Β· Doist Β· Chile
1
1
Would you bet a product on this? Bounded 0β100 and slow moving.
matched fp:5a3a79520b72003a, topic:testing