-
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 12.4.0: cypress run --component fails to terminate at end of tests #25568
Comments
Full debug logs:
|
Also seeing this in nx workspaces, here is a sample nx angular app where CT doesn't exit but e2e tests do. Interestingly it seems to only happen for angular component tests, but not react. At least in my limited testing. |
Thanks for the reproduction @barbados-clemens, I was able to see the issue with the repo you gave me. @yann-combarnous Are you able to share a reproduction as well? What framework/bundler are you using? |
Using react 18 and Vite 4, will try and create a reproduction tomorrow. |
@yann-combarnous I was able to reproduce this with Vite: https://github.com/ZachJW34/cypress-vite-hang We are working on getting this issue patched ASAP |
We have a few workarounds in the meantime:
We plan on releasing a patch release within the next day or two to get this fixed |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
In Cypress 12.4.0, running command
cypress run --component
runs all our component tests, but it never terminates.Desired behavior
In Cypress 12.3.0, command would terminate when all tests had run.
Test code to reproduce
cypress run --component
Cypress Version
12.4.0
Node version
v16.18.0
Operating System
macOS 12.6.2
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: