allure-js
allure-js copied to clipboard
[Cypress] Suite view - Tests are duplicated when using Allure metadata
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
Additional context NPM modules:
-
allure-cypress
3.0.0-beta.12 -
cypress
13.14.2