-
-
Notifications
You must be signed in to change notification settings - Fork 51
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 Embed Possible? #43
Comments
Currently no, because we cant add context per suite/spec file. |
Hi @LironEr Instead of waiting for the context for suite. I thought of adding a test entry (provided below) in tests array, after cypress execution just like enhanceReport function updating the context, here I'm adding a test entry. |
hi @LironEr , any progress in this? |
@mudit94 unfortunately no |
Hi, |
So it seems that Bahmutov embeds the video file for the whole suite to the test(s) that fail. |
This feels like were making some progress at last! |
Gave it a try with #137 , give it a look and let me know what you think 😸 One of the challenges was that there is no Videos-api in Cypress from which to get the file locations from. This doesn't cause a problem in Bahmutov's example, but he also doesn't organized his tests into any subfolders. Once you have a folder-structure, it complicates things. Also, I made the decision to add the spec-video files generated to all tests in the spec. Since it all links to the same file and the video shows the tests for the entire spec-file, I thought it to be less confusing that all the tests in the spec has the same video file, rather than just the failed ones... Discuss guys 👂🏼 |
@joakim-sch Great work! Released in v3.4.0 |
Hi, is it possible to get video's embedded as links or something similar into the generated HTML report?
Thanks
The text was updated successfully, but these errors were encountered: