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:
- Feature parser should have a Json property called 'platform'. For example,
@JsonProperty("platform")
private String platform;
- 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)
)