Using cy.server, cy.route, and cy.wait, we can intercept requests to our real backend, and return known mock responses.
The pros of using this approach:
For some reason,
cy.route() doesn't want to use my configured
baseUrl by default. So I'm having to use
Cypress.config().baseUrl to get it to work. Any thoughts as to why?