Skip to content

Attaching a zip file to the report #343

Closed
@MaximeAnsquer

Description

@MaximeAnsquer

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

Attaching a zip file to the html report in Java.
I have tried several media types but always get an error:

Couldn't display application/octet-stream attachment because the media type is unsupported. Please submit a feature request at https://github.com/cucumber/cucumber/issues
Couldn't display .zip attachment because the media type is unsupported. Please submit a feature request at https://github.com/cucumber/cucumber/issues
Couldn't display application/x-zip attachment because the media type is unsupported. Please submit a feature request at https://github.com/cucumber/cucumber/issues
Couldn't display application/x-zip-compressed attachment because the media type is unsupported. Please submit a feature request at https://github.com/cucumber/cucumber/issues

✨ What's your proposed solution?

Handle the media type "application/zip" in the Java method Scenario#attach.

⛏ Have you considered any alternatives or workarounds?

No.

📚 Any additional context?

My zip file contains a csv file


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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions