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

Request to add embeddings logic at feature level. #253

Open
SriSivaBatchu opened this issue Oct 8, 2021 · 0 comments
Open

Request to add embeddings logic at feature level. #253

SriSivaBatchu opened this issue Oct 8, 2021 · 0 comments

Comments

@SriSivaBatchu
Copy link

SriSivaBatchu commented Oct 8, 2021

Hi All,

Problem statement: I'm working on cypress, as we now cypress creates a single video file for all the scenarios. I want to add that on the HTML report. Right now I'm able to add image, video (as text/html), or any text using the embeddings map and the embeddings logic to add the step text (line number 236 in https://github.com/gkushang/cucumber-html-reporter/blob/develop/lib/reporter.js). So on a high-level using this logic I'm attaching the same video for all the scenarios. But I want to add only once at feature level. For this I had a workaround.

Workaround: Once the JSON file is generated I'm adding an entry at the end in the elements map.

Solution: If we can add the embeddings logic at feature level we just have to insert the embedding entry.

Workaround result screenshot:
image

@gkushang Could you please check this one.

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

No branches or pull requests

1 participant