Duplicate test names are merged as one test in report (even when fullname differs) #2117
Closed
1 task done
Labels
type:bug
Something isn't working
Describe the Bug
Allure report generation treats 2 tests, within the same file but in different describes as retries.
Steps to Reproduce
Note: one of the tests fail on purpose so we know we should see 1 failure and 1 success
Expected Behaviour
Seems like this is by design, but in the case of nesting under a describe or other grouping mechanism that would be expected to be accounted for.
Using the full name of the test available in the results could help prevent this behavior.
For Playwright at least, it already blows an error if there are duplicate test names in the same level.
Others have come across this and ended up circumventing like in Shelex/cypress-allure-plugin#209 , which is less ideal.
Screenshots or Additional Context
Results.json showing the duplicate names, but also the fullname, which ends up to be unique (between tests):
Allure report showing a single test, with retries as they duplicate name accounts for it:
What Language are you using?
TypeScript
What Framework/Allure Integration you are using?
allure-playwright
What version of Allure Integration you are using?
2.4.0
What version of Allure Report you are using?
2.23.1
Code of Conduct
The text was updated successfully, but these errors were encountered: