-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
"Cannot set property 'err' of undefined" error occurs in place of other errors during automatic test-reruns on file save (4.12.1). #8189
Comments
I too have continued to experience this problem in version 4.12.1 even though it was supposed to have been fixed in this version. |
thanks for letting us know, I'm looking into this (again) |
The code for this is done in cypress-io/cypress#8193, but has yet to be released. |
me too |
This will be fixed in our next release. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
This is a reopen of #7874, since the issue is not fixed after upgrading to 4.12.1. The behavior is the same, but the test code branch is different and this can be reproduced at least 50% of the time.
When running tests locally through cypress open by saving files (forcing a re-run), any failures occurred during the run can trigger this message:
Desired behavior:
The test fails with the normal readable stack trace.
Test code to reproduce
https://github.com/primitiveconcept/ludumdare46/tree/cypress/err-of-undefined-4-12-1/client
Run
npm run cy:dev
for server + CypressRun the
infostealer.spec.ts
specSave the
infostealer.spec.ts
while the test is running. Note that 50% of the time, this error occurs, and 50% of the time, the test is cut short and passes when it should fail. This may or may not be caused by a separate issue.Versions
Cypress versions: Can reproduce on 4.12.1. Cannot reproduce on 4.5.0. Other versions are unstable for various reasons on the example project.
OS: MacOS + Windows
Browser: Chrome + Electron
The text was updated successfully, but these errors were encountered: