Closed iskathi closed 1 year ago
@iskathi Thank you for the reproduction. I can confirm it produces posted error after running for some time.
This doesn't seem to be related to cy.session, but rather the sheer number of assertions the test runs. The Cypress command log slows down heavily in large tests.
This is a real issue, and we're discussing how to fix it at the moment, but going to close as duplicate in favor of https://github.com/cypress-io/cypress/issues/4164, which contains links to other issues demonstrating the same slowdown without involving cy.origin.
Current behavior
cy.session fails in very long tests (over 15 minutes in my case)
Desired behavior
Would be best if it did not fail
Test code to reproduce
I've managed to reproduce it with this tests after 2000 seconds
cypress.json
"redirectionLimit": 1000,
Cypress Version
9.3.1
Other
No response