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 embedded when generating Cucumber report using "ptrthomas/karate-chrome" docker image #2121

Closed
pauliehyland opened this issue Sep 8, 2022 · 5 comments

Comments

@pauliehyland
Copy link

pauliehyland commented Sep 8, 2022

When running UI tests that make use of the "ptrthomas/karate-chrome" docker image, the Karate report is generated as expected, with videos embedded. The Cucumber report, however, doesn't display them, as they appear to not be getting copied to the correct place. Just wondering if there are any configuration options to include this as the Cucumber report is far more detailed and ideal to CI builds.

The command I'm running to recreate this is as follows:

mvn clean test -Dtest=TestSuiteTest -Dclient.ci=true

A "cucumber-html-reports\embeddings" folder is created, which contains a html page that attempts to link to it, but it's a broken link...

<video controls="true" width="100%"><source src="web.appian-api-ui_1_1662647350982.mp4" type="video/mp4"/></video>

Thanks for your time,

Paul

cucumber-video-demo.zip

@ptrthomas
Copy link
Member

@pauliehyland as far as I know I spent some time trying to get the files live in the right directory etc. I'm going to tag this as help wanted and any contributions + investigation is welcome

@psyop-21
Copy link

hi, @pauliehyland I would like to work on this issue. Please can you tell me how can I be of any assistance?

@ptrthomas
Copy link
Member

@rishi-kai21 there's a sample project attached and there is also a developer guide: https://github.com/karatelabs/karate/wiki/Developer-Guide

@ptrthomas
Copy link
Member

all - this will be fixed in #2638 - closing as duplicate

@ptrthomas
Copy link
Member

duplicate issue: #2637

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants