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 issueCurrent 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.
- https://github.com/cypress-io/cypress/issues/2370#issuecomment-491351832
- https://github.com/cypress-io/cypress/issues/2370#issuecomment-493160496
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:
- Created 4 years ago
- Reactions:5
- Comments:15 (5 by maintainers)
Top GitHub Comments
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
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?