-
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
When launching cypress in background cy.exec cause chrome to freeze #24255
Comments
Hi @freddidierRTE . Thank you for opening an issue. I tried giving this a reproduction here on my ubuntu machine but didn't have any luck reproducing it. Would you be able to work with the reproduction to reproduce this issue for us? |
Hi @AtofStryker , i reproduced it with you test code New element , if i put back in foreground the task in the shell , it stop freezing and execute the test ,debug logs (see the fg shell command in the log )
|
I reproduce it as well with the provided electron browser |
@freddidierRTE maybe I am missing something. What command in your terminal did you run or did you just one of the provided npm scripts to reproduce? |
Starting from the root of your github repository : Test 1 :
Launch test via UI --> works as intended Test 2 :
Launch test via UI Test 3: In the shell
Launch test via UI In the shell :
--> works as intended |
interesting. I gave this a go and wasn't able to get this to freeze but it did crash on me every time I tried to run |
I am experiencing this as well with Cypress 12.9.0. |
Current behavior
On a linux OS using chrome with version cypress version 10.10.0 (pb reproduce with previous versions as well) , node version 14.20.1
Launch cypress in background : ./node_modules/.bin/cypress open &
Execute following test :
When launching cypress in foreground (./node_modules/.bin/cypress open) it works
Desired behavior
exec works when launching cypress in background
Test code to reproduce
Cypress Version
10.10.0
Node version
14.20.1
Operating System
Ubuntu 20.04.2 LTS
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: