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.
Cypress plugin to show your API information in the Cypress UI runner
| Date | Stars |
|---|---|
| 2026-07-24 | 276 |
| 2026-07-25 | 276 |
| 2026-07-28 | 276 |
| 2026-07-30 | 276 |
| 2026-08-10 | 275 |
| 2026-08-18 | 275 |
| 2026-08-24 | 276 |
| 2026-09-04 | 276 |
| 2026-09-05 | 276 |
| 2026-09-09 | 276 |
| 2026-09-14 | 275 |
| 2026-09-20 | 275 |
Today
— stars today
This week
-1 stars this week
This month
— stars this month
Momentum
35.0
growth rate 0.00%/day
<h2 align=center>Cypress plugin API</h2>
<p align="center">
<a href="https://github.com/sponsors/filiphric"><img src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86" /></a>
<a href="https://dashboard.cypress.io/projects/v2x96h/runs"><img src="https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/count/v2x96h/main&style=flat&logo=cypress" /></a>
</p>
<p align="center">
Cypress plugin for effective API testing. Imagine Postman, but in Cypress. Prints out information about the API call in the Cypress App UI.
</p>

### Features
- cy.api() command that shows information about the API call (URL, headers, response, and more) in the UI
- all of the info can be viewed in a time-travel snapshots
- simple table for viewing cookies
- JSON data object and array folding
- color coding of methods in UI view and in timeline
- calculating size of the response
- [combine API calls with UI](#snapshot-only-mode)
- [hide sensitive headers and auth information](#hiding-credentials)
- [`requestMode` to add cy.api() features to cy.request() command](#requestmode---enable-ui-for-cyrequest-command)
- [TypeScript support](#typescript-support)
### Installation
Install this package:
```bash
npm i cypress-plugin-api
# or
yarn add cypress-plugin-api
```
Import the plugin into your `cypress/support/e2e.js` file:
```js
import 'cypress-plugin-api'
// or
require('cypress-plugin-api')
```
> [!IMPORTANT]
> **Cypress 16 support is currently limited.** Core `cy.api()` functionality works, but this README and the project's test configuration are not yet fully migrated to Cypress 16. In Cypress 16, configure plugin options with `Cypress.expose()` or `setPluginConfig()`; do not use `Cypress.env()` or per-test/per-suite `env` options for plugin configuration.
### Usage
You can now use `cy.api()` command. This command works exactly like `cy.request()` but in addition to calling your API, it will print our information about the API call in your Cypress runner.
#### Snapshot only mode
If you want to combine your API calls with your UI test, you can now use `snapshotOnly` mode, that will hide the plugin UI view after command ends. You can access it within the timeline.
`snapshotOnly` mode is set to `false` by default. To set up `snapshotOnly` mode, set it at runtime or in config (Cypress 15.10+ uses `expose` for plugin config):
```js
it('my UI & API test', () => {
Cypress.expose('snapshotOnly', true)
cy.visit('/') // open app
cy.api('/item') // call api
cy.get('#myElement') // still able to access element on page
})
```
or add to your `cypress.config.{js,ts}` file:
```js
import { defineConfig } from 'cypress'
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
},
expose: {
snapshotOnly: true
}
},
})
```
#### Hiding credentials
By default, values are **shown** in the UI so you can see them when running locally. When you use **cy.env()** for secrets (or want to hide in CI), turn on **HideCredentials** so those values are masked (e.g. `****`) in request headers, auth, body, query params, and the cURL tab.
- **See values locally:** leave `hideCredentials` unset or `false` (default).
- **Hide credentials from `cy.env()` (recommended for secrets):**
- **Globally via config** (applies to all specs):
```js
// cypress.config.{js,ts}
import { defineConfig } from 'cypress'
export default defineConfig({
e2e: {
env: {
// credentials passed from cy.env() will be masked in the plugin UI
hideCredentials: true,
},
},
})
```
- **Per spec / per suite:** use any of these:
- **Via env** (in a `before()` or at the start of the test):
```js
Cypress.env('hideCredentials', true)
// optional: Cypress.env('hideCredentialsOptions', { headers: ['authorization'], auth: ['pass'], body: ['username'], qs: ['password'] })
``Excerpt of 7,810 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:1a0819cd5a6f40db, topic:testing