You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing multiple parentSuite labels in the Allure report even though I only specify it once in the test annotations. The issue occurs when I run my tests with the TestNG framework and generate the Allure report using Maven.
Steps to Reproduce
Create a TestNG test class with @Test annotations.
Use Allure.label("parentSuite", "SuiteName") in the test.
Describe the Bug
I'm seeing multiple
parentSuite
labels in the Allure report even though I only specify it once in the test annotations. The issue occurs when I run my tests with the TestNG framework and generate the Allure report using Maven.Steps to Reproduce
@Test
annotations.Allure.label("parentSuite", "SuiteName")
in the test.mvn test
).allure generate reports/allure-results --clean -o reports/allure-report --single-file
).Expected Behaviour
The Allure report should show only one
parentSuite
label.Screenshots or Additional Context
content of *results.json given below
{
"uuid": "c5fcb5ec-bbf5-4724-af6b-d75789436611",
"historyId": "721f8851ee28d7e4cf64dbc5bc4639dd",
"fullName": "tests.LoginTest.testLoginWithOtp",
"labels": [
{
"name": "package",
"value": "tests.LoginTest"
},
{
"name": "testClass",
"value": "tests.LoginTest"
},
{
"name": "testMethod",
"value": "testLoginWithOtp"
},
{
"name": "parentSuite",
"value": "tests.LoginTest"
},
{
"name": "suite",
"value": "Command line test"
},
{
"name": "subSuite",
"value": "tests.LoginTest"
},
{
"name": "thread",
"value": "[email protected](1)"
},
{
"name": "framework",
"value": "testng"
},
{
"name": "language",
"value": "java"
},
{
"name": "feature",
"value": "Java Tests"
},
{
"name": "parentSuite",
"value": "Java Tests"
}
],
"links": [],
"name": "testLoginWithOtp",
"status": "passed",
"statusDetails": {
"known": false,
"muted": false,
"flaky": false
},
"stage": "finished",
"steps": [],
"attachments": [],
"parameters": [],
"start": 1735033299254,
"stop": 1735033317934
}
i have removed host name and other details are pasted above.
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-TestNG
What version of Allure Integration you are using?
2.24.0
What version of Allure Report you are using?
2.24.0
Code of Conduct
The text was updated successfully, but these errors were encountered: