Skip to content

Update Qualifiers in reports when cucumber json output has information on OS and devices #1154

@jit3pam

Description

@jit3pam

After completion of tests, it is required of me to add OS and devices information to cucumber reports.
I have a cucumber json output that already has a platform tag for every test feature.

At present, the qualifiers can be added to the reports to display this information.

For example:

"platform":"OS X, Big Sur, Chrome, latest"

However, Feature parser doesn't have any json property for processing this information.

Expected outcome:

  1. Feature parser should have a Json property called 'platform'. For example,
    @JsonProperty("platform")
    private String platform;
  1. Report parser could optionally read the platform property. For example,
feature.setQualifier(
    feature.getPlatform() != null && !feature.getPlatform().isEmpty() ?
    feature.getPlatform() : Objects.toString(configuration.getQualifier(jsonFileName), jsonFileName)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions