// this code is probably what you want cy.server() cy.route('/users/**', {...}) cy.visit('http://localhost:8000/#/app')