Skip to content

Support for externalising large binary attachments #282

@osolomin90

Description

@osolomin90

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions