newman-allure-reporter -- custom allure labels set in postman are not displayed on the report
Describe the bug Custom allure labels set in Postman are not displayed on the report in spite of the "/allure-results/XXXXXX-results.json --> labels[]" containing them
To Reproduce Steps to reproduce the behavior:
- Add some custom labels under the Postman test - e.g. // @allure.label.customLabel=someCustomValue (e.g. official test from the repo also contains a similar custom label --> https://github.com/allure-framework/allure-js/blob/master/packages/newman-reporter-allure/tests/overview.test.ts)
- Run the test using newman cli with allure as the reporter
- Generate the allure report locally or the report that was generated if using a CI platform like Jenkins / CircleCI
- The report will not contain the custom label values even though the results.json contains them
Expected behavior Allure report should contain the custom label values set from the PM test tab
Screenshots
E.g. Custom Labels set in PM:
E.g. Left - Allure report | Right - Results.json:
Desktop (please complete the following information):
- OS: [MacOS]
- Browser: [N/A]
- Version: [N/A]
newman-allure-reporter:
- Version: [2.4.0 - latest]
Additional context N/A
Is there any update, feedback or workaround for this?
As for now, Allure Report only supports specific sets of labels. You can find the complete information here: https://github.com/orgs/allure-framework/discussions/2059#discussioncomment-6616266
As for today, custom labels can be displayed in Allure TestOps. For Allure Report, we plan to improve this functionality and introduce additional flexibility in the upcoming 3.0 release