title: Cypress: How to visit a url of a different origin?
body: <p>I'm new to cypress and have ran into an issue. I have my base URL set to the domain I want to test, the issue is when I want to test the ability to login on my base url site I need to verify the user on another site, once I click apply on site number 2 the page on my base url reloads and I would then be able to test the rest of the site.</p>
  
  <p>When I try to visit site 2 from my test I get an error </p>
  
  <blockquote>
    <p>cy.visit() failed because you are attempting to visit a URL that is of
    a different origin.</p>
    
    <p>The new URL is considered a different origin because the following
    parts of the URL are different:</p>
    
    <blockquote>
      <p>superdomain</p>
    </blockquote>
    
    <p>You may only cy.visit() same-origin URLs within a single test.</p>
  </blockquote>
  
  <p>I read this <a href="https://docs.cypress.io/guides/guides/web-security.html#Set-chromeWebSecurity-to-false" rel="noreferrer">https://docs.cypress.io/guides/guides/web-security.html#Set-chromeWebSecurity-to-false</a> I've tried setting <code>"chromeWebSecurity": false</code> in cypress.json but I still get the same issue (I'm running in chrome)</p>
  
  <p>Is there something I am missing?</p>