cypress: Cypress dashboard video playback is not smooth
Current behaviour
Cypress dashboard recorded videos show browser screen stuck in “tests loading”
Desired behaviour
Cypress dashboard recorded videos show the tests actually running (and passing / failing)
Versions
"cypress": "^7.1.0",
"@cypress/code-coverage": "^3.8.2",
"@cypress/react": "^5.3.4",
"@cypress/webpack-dev-server": "^1.1.2",
You can see the tests in question being recorded as passing / failing in the dashboard, but the entire test run video is blank “tests loading”

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 37 (16 by maintainers)
Still seeing this problem with Cypress 10.
These issues are also closed but I’m still getting choppy video artifacts.
I am following this to try to solve the videos that are not smooth on my end. But all the issues seem to be closed and there isnt any solution to this yet.
How can we help you find a solution to this @jennifer-shehane ?
Also gh action dont give you the opportunity to top up your VM cpu etc https://github.com/actions/virtual-environments/issues/1043
@bochkala We’re still investigating some other performance improvements, so 7.2.0 is not all of our planned performance work.
If you are running Cypress in a headless browser, you could try reducing the screen size to the default size prior to 7.0 (1280x720) to see if the performance issue is related to the increase in screen size. Instructions here.. That’s another thing we’ll be looking into.
omg that release has made a MASSIVE difference. TY TY TY TY
We just released 7.2.0. See notes under performance in the release notes for some more info.
This seems to have helped (at least for the project I was using as a test).
7.1.0: https://dashboard.cypress.io/projects/jq5xpp/runs/2/specs (recording cuts before test run) 7.2.0: https://dashboard.cypress.io/projects/jq5xpp/runs/10/specs (test run is shown)
The focus of this issue was the component testing runner (
open-ctorrun-ct). If anyone has problems with e2e recordings, please make a new issue. If you are having CT problems, please try updating to 7.2.0 and let me know how it goes here. If we still have problems, I will further escalate this.Thanks for the reports everyone. My suspicion is this is related to the performance degradation in 7.0. There is a release scheduled soon that reverts the primary source of this see this PR. If that doesn’t fix the problem, we will investigate more.
In the meantime I will continue to look into this but so far everything points to performance problems on CI, which traditionally are not the most beefy machines.
Hello, we are having the same issue, this is an example: https://user-images.githubusercontent.com/73902454/115885948-d4277400-a426-11eb-84fe-9f193243aef4.mp4
Ok, I configured my test project to run on CircleCI as well. It works as expected: https://dashboard.cypress.io/projects/jq5xpp/runs/4/specs. The video is recorded correctly.
I think this is a performance issue. We will do a release soon and it will contain this PR which downgrades electron (which was the source of most of the perf degradation). I will keep an eye on this and keep you updated.
I am unable to access the links. Anyway, I was able to reproduce it too - I created a very minimal project and it’s exhibiting the same behavior. That can be viewed here.
We use the exact same driver and video logic for the component testing runner - the only difference is the dev server and UI. But the video slicing logic is good place to start my investigation.
I’ll keep working on this, thanks for the detailed reproduction and input! I suspect a regression at 7.0. Something is not wired up correctly.
@glomotion any chance you could upload your recordings? That would help us to debug. Thanks!
Thanks for reporting this. Dashboard stuff is very high priority, will look into this asap.
We also have another repo - which is still using cypress 6.x and cypress/react 4.x - which uploads cicd test runs just fine. So i suspect this is a regression error with either cypress 7.x or cypress/react 5.x
Its also worth noting that running these tests locally on a MacBook with BigSur (11.2.3 (20D91)) - outputs the videos just fine.