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

Ability to record *.gifs #1511

Open
emosGambler opened this issue Mar 28, 2018 · 7 comments
Open

Ability to record *.gifs #1511

emosGambler opened this issue Mar 28, 2018 · 7 comments
Labels
stage: proposal 💡 No work has been done of this issue topic: video 📹 type: feature New feature that does not currently exist

Comments

@emosGambler
Copy link

Is this a Feature or Bug?

Feature request!

Current situation:

Currently we've got a possibility to record and save videos from test runs, which is really great! But many times QA's have to report a bug which is very hard to describe, e.g. animation behaving somehow wrong, weird UI jumps, etc.

Desired feature:

I would love to see a possibility in a test run to be able to save a *.gif file for chosen steps, so that I can easily and fast explain wrong behavior of UI for my dear developers.

Additional Info (images, stack traces, etc)

Very good work on cypress though. I am impressed!

Anyone sharing the same opinion?

@jennifer-shehane jennifer-shehane added the type: feature New feature that does not currently exist label Mar 28, 2018
@rsudarson
Copy link

rsudarson commented Mar 31, 2018

+1. This would be nice a feature from cypress.

@jennifer-shehane jennifer-shehane added topic: video 📹 stage: proposal 💡 No work has been done of this issue labels Feb 6, 2019
@Vandivier
Copy link

Great idea! As a further enhancement, it would be nice to gif on a selector, so that I can see the animation for one component and minimize file size and extraneous information when I send to a teammate.

@jennifer-shehane
Copy link
Member

You should be able to grab the path of the created video using the Module API and transform the video yourself into a .gif - save it at a location of your choice. I would suggest doing this today as this issue is very low priority for our team to work on. Not really sure we will work on this tbh since it is possible to do this yourself.

@rsudarson
Copy link

rsudarson commented Jun 28, 2020

This feature will help a lot in terms of debugging. If cypress provides a callback to transform video to gif would make reporting analysis easier.
Users can transform mp4 to gif (selected portion before the test failure) using https://github.com/vvo/gifify
Can you please re-consider the priority of this feature.

@jennifer-shehane @brian-mann @bahmutov - Thoughts?

@bahmutov
Copy link
Contributor

This is a good suggestion @rsudarson and I plan to implement something like this in bahmutov/cypress-movie#10

@Maxim-Mazurok
Copy link

This may be useful to view test results in VS Code.
There's no way to play mp4 in VS Code, because it doesn't have ffmpeg support: https://stackoverflow.com/a/51735036/4536543

So, gifs are the way to go

@wxtim
Copy link

wxtim commented Nov 3, 2023

GIF's are also a neat way of communicating usage to customers.

However it's worth noting that ffmpeg should (at least in theory) be able to output gifs. Will get back to you if I actually manage to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: proposal 💡 No work has been done of this issue topic: video 📹 type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

7 participants