-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Component tests occasionally fail with error "Cannot read properties of undefined" #27101
Comments
Hi @chingucoding , sorry to hear you're having issues. Are you able to provide us with Debug Logs of a failing run so we can try to diagnose what's going on? |
Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen. |
Sorry for the completely late reply. It seems our issue somehow didn't occur anymore, however I am able to reproduce this with upgrading |
We can consistently reproduce this in our CI. |
@muratkeremozcan This has the same stack trace in v13? Can someone provide a way to reproduce? |
We'll have to close this issue since there's no information to reproduce this. |
Current behavior
Our component tests occasionally fail with the following two stacktraces:
and
Desired behavior
Tests should not occasionally crash due to outside of tests that doen't seem to originate from our code (at least looking at the stacktrace).
Test code to reproduce
So far we haven't found a reliable way to reproduce this, locally test runs are mostly fine. Running in GitHub Actions, error rate seems to be around 50%.
Cypress Version
12.15.0
Node version
20.2.0 locally, v16.16.0 in GitHub Actions
Operating System
10.0.22621.1848 locally, 22.04.2 in GitHub Actions
Debug Logs
No response
Other
This issue seemed to be fixed by downgrading our vite version from 4.3.9 to 4.1.1 seemed to have fixed this issue for us.
The text was updated successfully, but these errors were encountered: