-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support for externalising large binary attachments #282
Comments
Hi @osolomin90 Thanks for your feature request. Actually, it will depends a lot on the formatter you are actually using.
Now regarding the fact that you may have to attach enormous files, I think that may be the topic for a new feature request. At the moment I would suggest something like:
That would allow users to find those files more easily. Does that answer - even a little bit - your questions? |
Hi, Is it possible to use, message json to create fancy html report? |
You can use Some info here: https://github.com/cucumber/cucumber-js/blob/main/docs/custom_formatters.md |
Is your feature request related to a problem? Please describe.
Hi, my tests records enormous HAR files (~20mb for each scenario), plus we use https://playwright.dev/docs/trace-viewer and as output we have big zip files, and videos time to time. This info helps us localise issues very fast, but we can not attach video or zip files to report to download them later. Also network logs are attached as a text and it is very uncomfortable to have 10 000+ lines attachment in BDD reporting.
Describe the solution you'd like
I would like to be able to add file as a binary, like it works in Allure Report, and then later just download.
Describe alternatives you've considered
Alternative reporting 'Allure' but version for cucumber 7 is still in development.
Currently we just add as a text to report path to artefacts we stored with our cicd. But then we have to go in another place in system and find proper files by name.
Additional context
As I understand cucumber report is a single json or html file, thats why it may be a bit difficult to add there a lot of heavy binaries. But I think in case with html format we can store those files just in the same directory.
The text was updated successfully, but these errors were encountered: