Cypress test runner hangs immediately on running cypress open

See original GitHub issue

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 logs The 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 and rxjs-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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jennifer-shehanecommented, Apr 22, 2020

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 cypress open not working in Yarn 2. Closing this issue with yarn 2 as duplicate of #6377

2reactions
curvatoncommented, Apr 20, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting
Open Cypress via cypress open · Go to Developer Tools -> View App Data · This will take you to the directory in...
Read more >
Cypress freezing (Your tests are loading)
The solution was to downgrade to Webpack 4. In this case it is a known issue, there is an open Pull Request on...
Read more >
How To Fix Cypress Crashing Issue In Windows - YouTube
In this video, we will discuss how to fix the cypress crashing issue.New Selenium Batch Starting ...
Read more >
The Most Common Cypress Mistakes
Remember, Cypress tests are only trying to automate what a manual tester would already do when testing. A manual tester might experience flaky...
Read more >
Fixing Cypress errors part 1: chromium out of memory crashes
Error: Out of memory, chromium renderer crashed · Solution 1: Use --ipc=host Docker flag · Solution 2: Use --disable-dev-shm-usage Cypress flag.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found