Open siddharthsid opened 2 years ago
Hmm, good one, never thought about this. Where would you like to put this, in the embeddings?
yes in the embeddings
embeddings: [ { data:
, mime_type: "text/plain", }, ],
That would be possible, we only need to find a way to distinguish that embeddings: [ { data: , mime_type: "text/plain", }, ],
is for a video tag instead of plain text. How do you normally use that?
Some other reporters like https://github.com/damianszczepanik/cucumber-reporting offer video import, this would be a nice feature to implement.
Hi @Yohandah
Feel free to open a PR 😉
@siddharthsid what is preventing this from working currently ? i have kind of the same problem but stucked because of https://github.com/WasiqB/multiple-cucumber-html-reporter/issues/46
in our json we have:
embedding: [
{
"data": "PHZpZGVvIGNvbnRyb2xzIHNyYz0iaHR0cHM6Ly9hdXRvbWF0ZS5icm93c2Vyc3RhY2suY29tL3Nlc3Npb25zLzEyNDIzMjM0MjQyIiBzdHlsZT0id2lkdGg6MTAwJSIvPg==",
"mime_type": "text/html"
}
]
it works with jenkins reporter for e.g and cucumber-reporting also, because it decode this base64 string that finaly is rendered as:
<video controls src="https://automate.browserstack.com/sessions/12423234242" style="width:100%"/>
would be very nice to integrate with the video reporter
Hi team,
I have a video recording which is done as part of After Hooks and i want to attach it with my scenario.
My tag would look like
Is there a way I can insert such tag?