score:0

you could fix that doing:

cy.visit('/').then((win) => {
  win.location.href = '/signup'
});

then, you have to include in your cypress.json file the following code to avoid cross origin errors:

{
   "chromewebsecurity": false
}

Related Query

More Query from same tag