-
Notifications
You must be signed in to change notification settings - Fork 3.3k
cy.session failure that didn't come from my code #29496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is being thrown from this piece of code: https://github.com/cypress-io/cypress/blob/develop/packages/driver/src/cy/commands/sessions/index.ts#L435 I haven't seen this error before, I bet it is a timing thing. |
This may be similar to #25550. |
Experiencing the same issue:
|
Same issue here (cypress 13.15.1): |
I run about 400 tests and see this happen ~1-2 times per-run on version |
@jennifer-shehane Sorry to tag directly but this has become a huge disruption in my team. Just hoping for additional eyes or thoughts. I run 400+ tests for each PR and I see this failure at least 1-2 times per run. The workaround is to just re-run the tests which slows down the entire workflow. I've been trying to find programmatic workarounds on my end but not sure anything is possible since the failure is on the Cypress side. Open to trying anything. I utilize session for all my authentication as well as |
Upgrading to 14.3.3 has improved the issue (likely due to this fix #31634) but this is still happening in my pipeline. While this is a huge improvement, I'm wondering if there's still anything to be done to fully address this issue. Thank you. |
Hi @davidmatium 👋🏼, glad to see there was some improvement and yes, we should be able to fully address the issue. I'll take a look at it again soon but I'll also probably need you to run with some DEBUG logs turned on so we can get some additional info. I'll keep you updated. |
@davidmatium, I built a pre-release version of Cypress (based off of v14.4.0) that includes some additional debug logging (they're automatically printed to the terminal). Could you try the new version and send me the debug logs. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Current behavior
I got this failure once. Unfortunately it did not fail the second time, so it is not easily repeatable.
As far as I can tell, the failure came from within cypress, and not from my code.
Desired behavior
No response
Test code to reproduce
Here is a snippet of my test:
Cypress Version
13.9.0
Node version
20.12.2
Operating System
Ubuntu 22.04
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: