-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Video functionality is not working on Firefox 93 and above #18415
Comments
This is the same for version 8.7.0 running on an AWS EC2 Ubuntu instance using Firefox 93 and above. Chrome and Electron just crash completely and are unusable (on Ubuntu at least) so Firefox is the only current option.
|
Experiencing the same issue on Windows 10 and Firefox 93 |
Firefox 93 introduced a change where it now requires a recent user gesture in order to activate screen recording - https://bugzilla.mozilla.org/show_bug.cgi?id=1729889. https://github.com/cypress-io/cypress/blob/develop/packages/driver/src/cy/video-recorder.ts#L11 is currently throwing an error, |
facing this issue with cypress 9.5 also |
Facing similar issue, +1 to resolve this |
@jennifer-shehane can you please help with this? i am using firefox for my tests and not capturing videos is major drawback for us |
In some cases, could be a Windows maximum file path limitation. Experienced same "bug" as ffmpeg intends to create a file with a path length of 265 characters. After win32 long path name feature activation (described in the link above), I am able to create by hand the expected file in windows terminal (cmd), but not in explorer, neither ffmpeg. A quick search about this ffmpeg behaviour leads me here: https://trac.ffmpeg.org/ticket/8885 As a quick workaround, I created a virtual hard drive "J:" pointing to my repository root in order to save some characters:
Cypress : v9.5.1 |
Also running into this (Cypress 9.6.1, Firefox 100, Windows 10 and Linux). How do we dynamically alter our Cypress config at runtime to disable videos for only Firefox? |
The lack of video recording for Firefox is a big challenge for my organization. Until recently we were using only Chrome for our test runs but we decided that we needed to diversify the browser we use for our tests. When we experience failing or flaky results in tests that run in Firefox, not having a video recording show up in the Cypress Dashboard makes it very difficult (and in some cases impossible) to understand the underlying cause of the failure/flake. Instead of being able to fix the problem with the test, we just have to leave it and wait for the issue to inevitably occur again. Having video functionality restored for test runs in Firefox is critically important for our ability to have a flake-free test experience using Firefox as the test browser. |
Hello, I was able to reproduce this issue with the following configuration: |
Reproduced with the following configuration: Chrome video capture works fine. |
Same issue, video is created on Chrome but not with Firefox. |
Just want to add my 2c to this - we're getting it now as well for Cypress 10.4.0 and 10.5.0. We have recently added a nested directory, and a spec within that dir is warning about being unable to record a video, and then cypress dashboard hangs. The CLI shows that the video could not be found. This is actually more relevant to discussions in #9128 but that was closed off and merged into this... we're also running Chrome! The "fix" we found was to add trashAssetsBeforeRuns: false but that doesnt feel like much of a fix as it could potentially be looking for old videos, seeing they exist, and uploading them to the dashboard. Doesnt throw the warning for recording the video anymore tho |
Do we have any update on this fix? |
I am facing the same issue with Cypress version 10.9.0 / 10.10.0 and Firefox 105. Chrome videos are getting generated but not for Firefox run. Can we have the fix ASAP please? |
The thing is, I just have the Cypress log to work with, and it does not tell me where to look for the problem's root cause in ffmpeg, Firefox or wherever else. It just says there is a timeout, which is not particularly helpful. Maybe there are missing codecs, native or JS libraries, whatever - I simply have no clue. I would go and bother another project's maintainers with issues, if I knew what causes the problem. But I do not. I just know that despite ffmpeg being called, there is no video in the output folder. |
"chromium" is first in line because that seemed to work fine so far in CI, and also video recording is currently still broken in Firefox, see cypress-io/cypress#18415 Bug: T332575 Bug: T332624 Change-Id: I47f599250ffaf8b21f2249fa9db58fde8798fe7c
Same issue here, but get video for Chrome Warning: We failed processing this video. This error will not affect or change the exit code. TimeoutError: operation timed out |
Sorry for the ping, but is anyone from the Cypress team ever going to fix this after two years? Or would, for starters, someone at least deign to give this some attention? How can you let down users like this? |
@kriegaex The last we investigated, this was a problem introduced by Firefox. This work is unfortunately not being prioritized at the moment. |
@jennifer-shehane, thanks for replying after 2 years. Please describe, how and what you investigated and how you determined the problem to be in FF. Please also share the link to the corresponding FF bug, which surely back then you must have created or commented on. Maybe you even have a regression test for it in your code base, to find out whether the upstream bug has been fixed. Thank you. P.S.: I am kind of surprised about how this problem can have such low priority, given the fact that FF is not a particularly exotic browser and recording videos is one of the main Cypress features. Especially in case of test failures, a video is usually much more helpful than a screenshot. |
This was one of the issues with Firefox video: #6337 |
@jennifer-shehane, thanks for the link. At first glance, it does not seem to be related.
|
Any updates guys about this issue ?, I just got the problem here. I know there're must be better way to fix this issue. |
Is there an intention to fix this at some point? Or is video recording being phased out in favour of Test Replay? I ask because we're in the process of upgrading to Cypress 13 and we're wondering if we should just do |
Just came across this same issue. Recording works fine for Chrome and Edge but not for Firefox. |
@todd-m-kemp |
@jennifer-shehane If more dev time is going towards Test Replay. Would it be possible to have a feature to compress these Test Replays in a file we can send to our CI/CD pipeline artifacts (Bamboo) so we are able to use it in that flow? Currently how I understand Test Replays in |
@Kualdir Thanks for the feedback, I'll note this with our product team. Test Replay is available with any Cypress Cloud account. These types of features are the drivers behind keeping our company in business so that we can support the open source product. |
Hi, is this still de-prioritized? |
Current behavior
Cypress sessions are failing to record videos on Firefox 93 and 94. I checked this behavior is happening on both Windows 10 and macOS Big Sur.
Affected Cypress Versions: Looks like all (confirmed on 6.8.0, 8.1.0, 8.4.1, 8.5.0)
Affected OS: Looks like all (confirmed on macOS Big Sur and Windows 10)
Error Details
Screenshot of a spec (actions.spec.js - kitchen-sink) run on Firefox 93.
Desired behavior
Cypress sessions should be able to record videos on Firefox 93 and 94. It should work the way it's working on older Firefox versions and other browsers.
Test code to reproduce
Steps to reproduce this error:
Cypress Version
all
Other
No response
Edits
The text was updated successfully, but these errors were encountered: