https://cypress.io logo
Oh, forgot to mention that! 😄 Tried that, but the...
# e2e-testing
s
Oh, forgot to mention that! 😄 Tried that, but the problem is that I cannot visit something from another origin inside that
cy.origin()
. So it would look like that:
Copy code
js
cy.origin('https://amazinglogin.test', () => {
  cy.visit('/'); // This visits https://amazinglogin.test, which I don't want
  cy.visit('https://mysuperbapplication.me'); // This fails, as I'm trying to access another domain with visit, even if exactly that was set as baseUrl before
})