Use cy.server() and cy.route() to control API response in a cypress test by Tomasz ŁakomyUse cy.server() and cy.route() to control API response in a cypress test
egghead