Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Playwright test shown twice when subSuite is used  #709

Copy link
Copy link
Open
@irharrier2

Description

@irharrier2
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.