title: Way to share data between two test runs in Cypress targeting different origins
body: <p>In cypress</p>
  
  <ol>
  <li><p>I am trying to create a random number, in one spec, posting it to the first website </p></li>
  <li><p>Navigate to another website with different origin, want to assert that this random number generated in the first test, is available on the second website since they are linked in the backend</p></li>
  </ol>
  
  <p>This won't happen as same code to create random number would run again, in case we generate in before() block, thus creating and assigning another random number to that variable, since before() block will run again in case we visit another url</p>
  
  <p>few ways like using -</p>
  
  <ol>
  <li>describe function scope --> will run again and assign new random number</li>
  <li>static class properties --> will run again ...</li>
  <li>java singleton principle --> will run again ...</li>
  <li>cypress commands in cypress/support/command.js --> will run again ...</li>
  <li>local storage --> doesn't work, local storage gets cleared when visiting another url</li>
  </ol>
  
  <p>None of them worked, although if we were not to visit another url, all of them would work normally</p>