Cypress Intercept

Network request stubbing with Cypress

Something I learnt whilst going through Dan’s PR.

Why Cypress Intercept?

It allows you to stub network requests while cypress testing.

src

Cypress docs explain this so well, including scenarios where you might use this stuff, to really help illustrate how it can be useful. Definitely a worthy read.