question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cypress UI locks up during cypress run in CI (recognizable in video recording, the UI is less responsive and/or completely frozen)

See original GitHub issue

Current behavior:

As per the following comments, the UI appears to freeze when reviewing video taken during cypress run. There is only activity recorded for the first few seconds.

Example videos https://52855-7910045-gh.circle-artifacts.com/0/root/project/cypress/videos/main-page.spec.js.mp4, https://53812-7910045-gh.circle-artifacts.com/0/root/project/cypress/videos/main-page.spec.js.mp4. But I think that these “frozen” videos are a separate problem. Original problem described in this issue is about incomplete videos.

Desired behavior:

The UI/video recording should not freeze and capture the test run like usual when run during cypress open

Steps to reproduce: (app code and test code)

??? I’d love if anyone could respond with the Versions below and ideally steps to reproduce this. 🙏

Versions

Cypress: <= 3.3.1 Browser: Electron 61 OS: Linux, Debian 8-1 + ?? CI: Jenkins + ??

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
bahmutovcommented, Aug 29, 2019

We will close this issue since this is due to the underpowered CPU available to Cypress in the CI container. I will think how to detect the frozen video happening and give a warning, have opened #5061

3reactions
WillsB3commented, Jul 26, 2019

Recommendation: try running CI tests on a more powerful box. If the box is already powerful, try running fewer concurrent jobs.

As far as I’m aware we don’t have any control over the assigned hardware resources with GitLab CI, so I don’t think I can personally test that suggestion unfortunately.

Additionally, with our CI pipeline, the E2E stage is the only job running by that point in the pipeline, so reducing concurrent jobs also isn’t something I can try.

How do I tell Cypress to record videos when running locally? I tried the --record flag but it wants a key for uploading the video to the Dashboard however I just want the recording stored locally?

Read more comments on GitHub >

github_iconTop Results From Across the Web

datacamp/cypress@0.0.7
Run your Cypress.io end-to-end browser tests without spending time configuring CircleCI. This orb can also record results on the Cypress Dashboard and load ......
Read more >
Running Cypress tests in parallel in GitHub Actions without ...
Making Cypress run in parallel can speed up your build times and help you have more confidence your app works correctly.
Read more >
Adding Cypress.io Tests To CI/CD Pipeline ... - YouTube
In this episode, we continue down the cypress.io testing framework path by adding cypress testing to our CI /CD pipeline.
Read more >
Cypress freezing (Your tests are loading)
Doing a force refresh once the test page opens up makes it work most times. But I am yet to figure out why...
Read more >
cypress/github-action - npm Package Health Analysis
As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted...
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