-
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 read properties of undefined (reading 'currentlyAttachedTarget') #22451
Comments
@koooge Hi there. Thank you for logging an issue. Can you please provide a the the full logs? It would provide more detail on what you did leading up to this error. Was this happening on the first spec ran within your project? Or a 2nd or 3rd spec? I've identified where the error has occurred but want to ensure we understand the root of the issue here. |
Actually, I have reached out to someone who is familiar with this logic and it appears this is a mistake on how we are re-launching a browser after the first spec if the browser process is corrupt. This should be a relatively straightforward fix. Thank you for reporting! |
I have the same issue |
Full logs of the same error: https://github.com/Tinkoff/taiga-ui/runs/7092418750?check_suite_focus=true |
I rolled cypress back to 10.0.0 where this issue was not happening. Noticed this issue being intermittent in 10.3.0 & 10.1.0. |
any updates on when this will be fixed @emilyrohrbough ? |
@emilyrohrbough looks like the latest release still has this issue, any ETA on when this fix will get out? |
I also saw this issue in 10.3.1. We use sorry cypress director, and I was running 2 threads for my visual tests, and I would get this error every time when the last test tried to run. When I switched to 1 thread, the tests were fine. |
We're also using the sorry cypress director and saw this when the last spec tried to run. It's not every time - I'm not totally clear on what the pattern is between builds that are affected vs ones that aren't, though. It's just hitting our screenshot tests, so I'm going to try moving those into a dedicated runner and parallelise the rest of the suite (functional tests) like before 🤞 |
Ah, there's a buggy interaction between Cypress 10 and Just adding this for info in case it helps anyone. The |
Sorry-cypress issue was fixed in v2.3.0, thanks @alyssa-glean for providing a solution. The original problem of cypress runner closing the browser (or not populating |
Any update or workaround on this issue? running into this in version 10.0.0, 10.3.0 and 10.9.0. Need to stay 10.0 and above for NextJS compatibility. |
Having the same issue on 10.0.0 < 10.3.0. This happens randomly during the test run. Please provide a fix for this issue |
have similar issue:
Using in case this stack trace helps someone :) |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
Hi there,
Current behavior
Desired behavior
no error
Test code to reproduce
I got this error many times with
cypress run --browser chromium
. The test file includes 10~20 testcases.┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 10.2.0 │
│ Browser: Chromium 101 (headless) │
│ Node Version: v16.12.0 (/usr/bin/node) │
│ Params: Tag: false, Group: false, Parallel: false
Cypress Version
10.2.0
Other
No response
The text was updated successfully, but these errors were encountered: