# How to Test Negative States and Cached Network Requests with Cypress

DevFeed: [How to Test Negative States and Cached Network Requests with Cypress](<https://devfeed.tech/articles/has-it-not-happened-yet-28889.md>)

Original publisher: [Read original article](<https://glebbahmutov.com/blog/has-it-not-happened-yet/>)

Author: Gleb Bahmutov

Published: 2026-06-10T04:00:00Z

Content type: tutorial

Language: en

Sources: [Gleb Bahmutov](<https://devfeed.tech/sources/gleb-bahmutov.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [Cypress](<https://devfeed.tech/topics/cypress.md>), [Network](<https://devfeed.tech/topics/network.md>)

Tags: [cypress](<https://devfeed.tech/tags/cypress.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [network](<https://devfeed.tech/tags/network.md>), [network-testing](<https://devfeed.tech/tags/network-testing.md>), [products](<https://devfeed.tech/tags/products.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

This article explains how to test negative states reliably in Cypress. It recommends confirming that the application has reached a known final state before asserting that a network request did not occur, or using a timeout when no completion state is available.

## Source excerpt

Let me get back to the testing of negative states one