cucumber / react-components

React components for Cucumber
MIT License
32 stars 10 forks source link

Support for attaching images and videos using url/path instead of passing the binary data #342

Closed k02pradeep closed 7 months ago

k02pradeep commented 7 months ago

🤔 What's the problem you're trying to solve?

Attaching images and videos in large reports is causing issue with build time and file size. Instead the images and videos can be stored in the known folder path and can be referenced by the report.

✨ What's your proposed solution?

Support for adding attachments should support passing urls for images and videos and have them referenced in the reports

⛏ Have you considered any alternatives or workarounds?

As the library does not support passing urls, other workarounds were not possible

📚 Any additional context?


This text was originally generated from a template, then edited by hand. You can modify the template here.

k02pradeep commented 7 months ago

Issue in cucumber-js

k02pradeep commented 7 months ago

As an alternative solution, adding mediaType text/html should be supported so that custom html content can be attached

davidjgoss commented 7 months ago

(Closing as a duplicate of the linked issue.)