are you sure you are setting it on the right `wind...
# e2e-testing
g
are you sure you are setting it on the right
window
object? Because if you do
cy.visit
after that, the new
window
object will be created, losing your auth token. You probably want to use
onBeforeLoad
to set the authToken, see https://on.cypress.io/visit options