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

[Cypress] Suite view - Tests are duplicated when using Allure metadata #1141

Open
harmin-parra opened this issue Sep 16, 2024 · 1 comment
Open
Labels
theme:cypress type:bug Something isn't working

Comments

@harmin-parra
Copy link

Describe the bug
When using Allure metadata, tests are duplicated in the Suite view.

To Reproduce
Execute this cypress test

import * as allure from "allure-cypress";

describe("Ajax page", () => {

  it("Ajax verification with intercept", () =>{
    allure.epic("Web interface");
    allure.story("Ajax");
    allure.parentSuite("Web interface");
    allure.suite("Ajax");
    // rest of test
  });

  it("Ajax verification with get+should", () =>{
    allure.epic("Web interface");
    allure.story("Ajax");
    allure.parentSuite("Web interface");
    allure.suite("Ajax");
    // rest of test
  });
});

Generate Allure report
Open Allure report
Display the Suite view

Actual behavior
Ajax page is present in the tree

Expected behavior
Ajax page is not present in the tree

Screenshots
2024-09-16_20-26

Additional context
NPM modules:

  • allure-cypress 3.0.0-beta.12
  • cypress 13.14.2
@delatrie delatrie added theme:cypress type:bug Something isn't working labels Sep 17, 2024
@delatrie
Copy link
Collaborator

Hi, @harmin-parra
That will be fixed as part of #1068

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:cypress type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants