unusually slow tests & unplayable videos after upgrading to 8.7
See original GitHub issueCurrent 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
Desired behavior
tests should run normally and videos should be playable, like on cypress 8.5.0.
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:
- Created 2 years ago
- Reactions:14
- Comments:24 (3 by maintainers)
Top GitHub Comments
We have encountered the same issue, will have to rollback. Here are some numbers from our projects:
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.