1×
Become a member
to unlock all features
Autoplay

    Stub Network Requests in a Cypress Test

    cypressCypress
    ^1.4.1

    To keep our tests fast and easily repeatable, it makes sense to create many integration tests and fewer full end-to-end tests. In this lesson, we’ll see how to stub out network requests to create repeatable integration tests by ensuring our application runs in a known state for our tests.