1×
Become a member
to unlock all features
Autoplay

    Assert on XHR Requests in Cypress

    cypressCypress
    ^3.1.5

    In this lesson, we'll learn to test the seam between frontend and backend -- our XHR requests. Using cy.route as if we were mocking our backend requests, we can instead spy on the request, and intercept its data to run tests against.