I'm using Cypress 6.3.0. Why does the following happen?
cy.intercept('https://some.random.url', {
statusCode: 200
})
threw a Cypress detected a cross origin error happened on page load
error
but
cy.intercept('http://some.random.url')
did not.