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.

unusually slow tests & unplayable videos after upgrading to 8.7

See original GitHub issue

Current behavior

after upgrading from cypress 8.3.1 to 8.7.0, tests started running extremely slow in CI. previously a run was about 15 minutes, now it takes over 30 minutes and sometimes times out.

furthermore, the videos generated by cypress are not playable. i can open or download them, but 90% of the video is just a frozen screen. attaching an example.

if i downgrade to 8.6, the issues still persist (the video issue is different, shows error instead, this issue was fixed in 8.7.0 according to the release logs). if i downgrade to 8.5, everything works fine.

as far as i can tell, there are no issues running tests locally. also as far as i can tell, there are no error messages or logs displayed.

https://user-images.githubusercontent.com/2622838/139847729-878b53c3-ac43-4c36-bdd2-a13689727785.mp4

cypress runs blurred

cypress runs 8 7

Desired behavior

tests should run normally and videos should be playable, like on cypress 8.5.0.

cypress runs 8 5

Test code to reproduce

i don’t know how to provide a reproducible example. my code is proprietary and the CI environment would have to be recreated.

please let me know what other info i could provide.

i’m hoping that others are facing the same issues and we would be able to come up with a reproducible example together.

Cypress Version

8.7.0

Other

i’m running cypress in CI via cypress-io/github-action@v2. here’s my cypress.yaml:

- name: Run cypress tests
  uses: cypress-io/github-action@v2
  with:
    start: yarn serve -s build -l 3000
    wait-on: "http://localhost:3000"
    working-directory: frontend
    record: true
    parallel: true
    # tag will be either "push" or "pull_request"
    # https://github.com/cypress-io/github-action/issues/124#issuecomment-653180260
    tag: ${{ github.event_name }}
    # we have already installed all dependencies above
    install: false
    # only run integration tests
    spec: cypress/specs/integration/**/*.spec.js

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:14
  • Comments:24 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
nitzanashicommented, Mar 24, 2022

We have encountered the same issue, will have to rollback. Here are some numbers from our projects:

image

9reactions
YossiSaadicommented, Apr 17, 2022

How come Cypress team still not solving this issue? It seems that from some 8.x version things started getting worse and worse (some would even say things got slower in one of the 7.x) We’re using 8.5.0 and we can’t upgrade for months now, and it seems to affect tons of other companies, also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

20 most common video errors & how to fix them
This article guide you how to fix all 20 problems or errors while playing videos like playback errors, audio video sync, issues, choppy, ......
Read more >
Why does my internet download speed increase drastically ...
Why does my internet download speed increase drastically while running a speed test? After finishing the test, the speed decrease to very low....
Read more >
Changelog - Cypress Documentation
Fixed an issue with Angular Component Testing where urls within SASS/SCSS files were not being correctly resolved which could result in incomplete styling....
Read more >
Pega Platform 8.7.4 Patch Resolved Issues | Support Center
When the content size was very large, slowness was seen when progressing an article from creation > approval stage. This was traced to...
Read more >
Video playback becomes slow and jerky. [Archive] - Avid Pro Audio ...
I then move the video file to my second monitor and "fit to screen". ... I did some tests and it was the...
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