link in the history tab does not contain a suite number
Describe the Bug
tests are located in several suites the link to the current test contains the suite number, but the links in the history tab do not contain the suite number.
clicking on a historical link should open a specific historical testresult. instead, it opens the home page of the test run.
green color -- link .../202411160200/acceptancetest/_output/allure-report/index.html?isNativeBrowsing=true#suites/cd4abcc0ee5d62237215bff47c59110b/52a4c36dd58708be/history
red color -- link .../202411160100/acceptancetest/_output/allure-report/index.html#testresult/8762dcfba2fe6979
correct link for historical testresult .../202411160100/acceptancetest/_output/allure-report/index.html?isNativeBrowsing=true#suites/cd4abcc0ee5d62237215bff47c59110b/8762dcfba2fe6979/
Steps to Reproduce
- create 2 or more suites
- put tests into suites
- enable history
- run the tests
- run the tests again to generate the history
Expected Behaviour
the link in the history tab opens the desired testresult and contains the suite number
Screenshots or Additional Context
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-testng
What version of Allure Integration you are using?
2.29.0
What version of Allure Report you are using?
2.25.0
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The history links are generated based on the info provided via the executor.json file, which is usually provided by CI systems, see https://allurereport.org/docs/how-it-works-executor-file/#executor-file
Based on the isNativeBrowsing query parameter, I may assume you're using a custom flow to generate & publish the reports in Artifactory.
The fix would be to include the isNativeBrowsing=true parameter to your executor.json (reportUrl property)