Skip to content

Playwright test shown twice when subSuite is used  #709

Open
@irharrier2

Description

@irharrier2

Describe the bug
Allure report for Playwright tests shows same test twice when subSuite annotation is used

To Reproduce
Steps to reproduce the behavior:
1- my test has the following test suite name:
test.describe('test describe title - Playwright @test', () => {

2- I have the following annotations:

 allure.suite("suite title - Allure")
 allure.subSuite("subsuite title - Allure")

3- I have the following setting in playwright.config.ts:

[
    'allure-playwright',
    {
      detail: true,
      outputFolder: 'allure-results',
      suiteTitle: false,
    },
  ]

4- in test report under the suites, I can see both the subsuite title from Allure annotation and test describe title from Playwright itself.

Expected behavior
Not to show test describe from Playwright when using subsuites.
Not to show same test twice.

Additional Info
"allure-playwright": "^2.0.0-beta.19",

Screenshots
Screenshot 2023-06-28 102053

As you can see, report showing two tests here. One with subsuite and one with test describe title, while I only have one test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions