Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playwright test shown twice when subSuite is used #709

Open
irharrier2 opened this issue Jun 28, 2023 · 0 comments
Open

Playwright test shown twice when subSuite is used #709

irharrier2 opened this issue Jun 28, 2023 · 0 comments

Comments

@irharrier2
Copy link

irharrier2 commented Jun 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants