-
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
Cypress hangs after specific click (involving Unstable_TrapFocus) #30630
Comments
What exactly do you mean by Cypress is stuck? What are the console errors? You may want to check out the Cypress Discord Community , it can be helpful for debugging or answering questions on how to use Cypress. Right now there doesn't seem to be enough information to reproduce the problem on our end. Forking Cypress Test Tiny makes sharing a reproducible example easier to share and easier for us to replicate your issue. This method also keeps the reproduction as simple as possible, which helps us eliminate potential causes and noise from the investigation. |
thank you so much @mschile for answering me , cypress-io/cypress-test-tiny@master...ruchamafr:cypress-test-tiny:patch-1 |
I did some digging on this and it appears that the issue comes from Unstable_TrapFocus. Are you aware of how you all are using that? It seems not to be playing nicely with some of the focus logic inside of Cypress and it's causing an infinite loop. It's unclear still where the problem lies (in Cypress or the third party component), or if there's a workaround, but I'm wondering if you can somehow disable that component during tests/upgrade it/etc. to try and get around the problem? |
Hi ryanthemanuel, I really appriciate your digging because the developer put on metirials ui-package the properties and now it works!! |
|
Current behavior
cypress stuck after clicking and post request hang up
Desired behavior
cypress should continue to the next page
Test code to reproduce
Cypress Version
13.15.1
Node version
20.12.2
Operating System
windows 10
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: