Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videos not viewable on Cypress Dashboard when videoCompression is set to 0 #24595

Closed
liambutler opened this issue Nov 8, 2022 · 5 comments · Fixed by #26503
Closed

Videos not viewable on Cypress Dashboard when videoCompression is set to 0 #24595

liambutler opened this issue Nov 8, 2022 · 5 comments · Fixed by #26503

Comments

@liambutler
Copy link

liambutler commented Nov 8, 2022

Current behavior

I imagine that this is related to this issue

I've been trying to debug video frame skip issues when running Cypress via GitHub Actions (issue here). One thing that was suggested to me was to set the videoCompression to 0 in cypress.config.ts.

According to the GitHub Action's execution log, the upload was successful:

Screenshot 2022-11-08 at 16 49 20

However, when looking at this run on the dashboard, the video is not watchable:

Screenshot 2022-11-08 at 16 51 31

And there is this error in the console:
Screenshot 2022-11-08 at 16 51 12

Desired behavior

No response

Test code to reproduce

Relevant config items:

{
  videoCompression: 0,
  viewportHeight: 800,
  viewportWidth: 1250,
}

Cypress Version

10.11.0

Node version

v16.18.0

Operating System

ubuntu-20.04

Debug Logs

I can email the run log if required, but would rather not share on here

Other

No response

@liambutler
Copy link
Author

liambutler commented Nov 9, 2022

Same issue when videoCompression is set to false:

Screenshot 2022-11-09 at 15 16 20

@ryanthemanuel
Copy link
Collaborator

Hi @liambutler. Thank you for logging this. I am unable to recreate it with my own test projects. When you see the issue is the video corrupt locally? Or just on the dashboard?

@liambutler
Copy link
Author

liambutler commented Nov 17, 2022

Hi @ryanthemanuel, thanks for getting back to me

When you see the issue is the video corrupt locally? Or just on the dashboard?

Both, unfortunately! You can see other folks encountering the problem in this issue

Some more info about my setup:

Local machine:
M1 MacBook Pro
Quicktime as default video player (this is important as the uncompressed videos are playable when using VLC)

CI:
GitHub Actions default runner

Here's a run where you can see that the dashboard is unable to play the uncompressed recordings

Hope that helps. Let me know if you need any more info

@ryanthemanuel
Copy link
Collaborator

ryanthemanuel commented Nov 18, 2022

Aha. Thanks for the additional information @liambutler. I was able to reproduce this. Key differences from when I tried before:

  • videoCompression = 0 in the config
  • Using quicktime to try and open the file locally
  • Using safari to try and load the file in the dashboard (it seems to work in chrome but not safari).

I will go ahead and route this to the e2e team.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 26, 2023

Released in 12.11.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v12.11.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Apr 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants