-
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 test runner hangs immediately on running cypress open #6378
Comments
Hi, same happened to me. For me the problem arouse when I changed my build routine from 'npm run build' to 'yarn build'. I kinda think the problem is the location of the build output, it changed, or the cypress files cannot be found etc. It does not work with 'npx cypress open' either. F**k these package managers man, I sometimes feel I spend more time figuring out what went wrong again with my packages than with coding... So much of making your life easier. UPDATE: I had no trouble at install, and there is no log message at force quitting for me. |
I would like to update this issue with some details.
Firstly, Cypress hangs only on Full debug output is here https://pastebin.com/BD98wtPE
Also, when I try to click electron menus I get something like this (links do work, however)
|
Running into the same issue with yarn v2. Highly suspect it's yarn v2 Plug'n'Play related. |
It looks like more details and some workaround (which didn't work for me, though) were provided in another issue |
This is happening to me as well and I'm completely stuck I'm not using yarn 2 so probably not coming from there:
Here's what I tried so far: Cypress 3.6.0
Cypress 4.4.0
No matter what, I'm always stuck on that screen: After some time, the only error that showed up in the console was that:
I don't think that's relevant but sharing in case. EDIT: I also tried to reboot the computer in case... Same issue |
Same issue here since yesterday. It was working fine until then. I don't know what to do... |
@brian-mann sorry for the ping but it feels like quite a huge issue. We're unable to run cypress at all. I'm still blocked and unable to work on any tests. Something which is quite worrying too: I tried cypress on another Linux machine where it was working fine on few days ago and it's broken too 🤷. On the contrary, my colleagues running it on Mac don't have any issue. |
Indeed, still not working here. I've tried many things, change node version, npm, yarn. Still the same issue. I have managed to find an alternative, it's not perfect, far less stable, but at least I can run some tests. You can try to launch Cypress with docker. It works on ubuntu :
|
So painful :( But thanks for sharing the solution @DanielCambray |
Hi, I went through the same problem today. I have Ubuntu 18.04. On my side it appears it came from Chromium. I uninstalled it and now everything is back to normal. I found this solution remembering that this morning I had a notification that Chromium had been updated. |
Oh my... 😱 @curvaton thanks! I didn't have to reinstall chromium-browser but just remove it. What's going on... No idea! I still have chromium after "removing" it and now cypress does work 🤷 To be clear I just ran
|
I tried all of these solutions. However, it didn't work until I have installed cypress@4.4.1. |
@maxime1992 it sounds like you're running into this bug: #7020 - try cypress@4.4.1 |
Hey everyone, recently there was an issue where Cypress would hang during opening in Ubuntu due to their changing how Chromium is installed. This was a priority fix for us, which is why we released a patch fix ahead of schedule as 4.4.1. Please upgrade to this version. These recent comments appear to be unrelated to the original issue that was opened - which involve |
Current behavior:
When running
yarn run cypress open
, the Cypress Test Runner opens but immediately hangs. There is no output in the terminal, unless I force quit Cypress, when it logsThe Test Runner unexpectedly exited via a exit event with signal SIGKILL
(which is to be expected).Manually opening the globally installed app works fine.
Note! I ran into #6377 when installing, and worked around by installing
rjxs
andrxjs-compat
- unsure if that could be related.Desired behavior:
Cypress Test Runner should open normally.
Test code to reproduce
No tests are written - I've tried this both in a project without a cypress folder, and in one which has the folder filled with test examples with the same result.
Versions
Cypress 4.0.1
Mac OS Catalina 10.15.3 Beta (19D62e)
Firefox Nightly 74.0a1
yarn v2
The text was updated successfully, but these errors were encountered: