-
-
Notifications
You must be signed in to change notification settings - Fork 764
Description
Describe the Bug
We are using Allure to generate reports from the allure-results produced by newman-reporter-allure. We have already tested it, and newman-reporter-allure works perfectly—it runs all tests and the allure-results contains every test as expected. The issue arises with the allure generate command: when tests within the same collection or group share an identical name/title, only one test appears in the generated Allure report.
We consider this a bug because each test has its own UUID and is correctly saved in the allure-results, indicating that the Allure results format supports unique identifiers. However, it appears that allure generate is using a HashMap somewhere, and instead of using the UUID as the test case identifier (hashmap key), it is using the "name" property.
Steps to Reproduce
- Prepare an
allure-resultsfolder with test cases within the same suite/collection that have identical titles/names. - allure generate
- Browse the "Suites" section.
- Notice that only one test is visible, while the other tests with the same title are missing.
Expected Behaviour
All tests should be visible. Since each test has a unique UUID, Allure should reference them by UUID rather than by title.
Screenshots or Additional Context
equal test case names:
not equal:
What Language are you using?
Java
What Framework/Allure Integration you are using?
newman-reporter-allure
What version of Allure Integration you are using?
3.1.0
What version of Allure Report you are using?
2.32.2
Code of Conduct
- I agree to follow this project's Code of Conduct