Cypress Network Idle

JSON →
library 2.0.1 ·javascript
verified May 27, 2026

cypress-network-idle is a Cypress plugin that extends the `cy` command set, enabling testers to wait for a specified period of network inactivity before test execution continues. Currently at stable version 2.0.1, the library sees active development with frequent patch releases and occasional minor updates (e.g., v1.15.0 in Jan 2025, v2.0.0 in March 2026). Its core differentiator lies in its flexibility: it allows specifying HTTP methods, URL patterns (using `cy.intercept` compatible patterns), and the duration of the idle period. Unlike simple `cy.wait()`, this plugin ensures that all network activity matching the criteria has ceased for a continuous duration. It also supports 'preparing' the network listener before an action (like `cy.visit`) and offers options to fail tests if matching network calls result in 4xx or 5xx status codes, providing robust error handling for network-dependent tests.

total hits 20
actors 8 distinct systems
last hit 6d ago MetaBot
ByteDance
7
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France