Skip to content

Automatically determine common content types for user input provided in interact steps #239

Description

@olw-medcom

Hey there,

We have a MULTILINE_INPUT where users can either insert xml or json content (and in theory a lot of other things as well). When we review their test case and click on the step where they have provided it we have the option to download it as a file, but it's always downloaded as a .txt file. I was wondering if you could make some logic on your side that tries to estimate the filetype? For example if it starts with a < it's most likely a .xml file and if it starts with a { it is most likely a .json file

I'm not sure where, but I have a feeling that you've changed the filetype automatically elsewhere in the ITB? Not sure about this but it would be a nice quality of life feature for sure ^_^

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnightlyThis issue has been resolved and is available on the nightly build.
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions