Test Slow Network Conditions in Cypress by Throttling and Delaying Intercepted Requests

InstructorFilip Hric

Share this video with your friends

Send Tweet

When user waits too long, we might want to give them an option to reload page and try again. This is usually a hard case to reach and test effectively. But the .intercept() command provides us with a throttleKbps option that can limit the bandwidth, or we can use delay option that will delay our response for a given time.