You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When a describe block contains multiple tests, the Before or After hook entries in the Allure report are duplicated for each test. Although the test execution is accurate, the repeated Before hook entries can cause confusion, as they appear multiple times for each test in the report. Referring to any of these duplicated entries provides the correct information, but the duplication affects the clarity and readability of the test results.
Where are the before all is reported and displayed correctly.
Steps to Reproduce:
Create a describe block with more than one test case.
Add a Before hook and After hook that runs before each test.
Execute the test suite and generate the Allure report.
Review the report, specifically the logs for the Before and After hook.
Expected Behavior:
The Before and after hook should appear once, representing its execution for the associated test cases, without being duplicated in each test.
Actual Behavior:
The Before and After hook entry is duplicated in the Allure report for each test within the describe block.
Environment:
Allure version: 2.30.0
Test framework: Mocha Webdriverio
Node version: 18.16.0
Additional Information:
While the duplication doesn't impact the test execution itself, it can make reviewing the Allure report more cumbersome. The behavior may cause confusion during test result analysis, as users must realize that the duplicated Before entries refer to the same hook execution.
The text was updated successfully, but these errors were encountered:
baev
transferred this issue from allure-framework/allure-npm
Oct 16, 2024
Description:
When a describe block contains multiple tests, the Before or After hook entries in the Allure report are duplicated for each test. Although the test execution is accurate, the repeated Before hook entries can cause confusion, as they appear multiple times for each test in the report. Referring to any of these duplicated entries provides the correct information, but the duplication affects the clarity and readability of the test results.
Where are the before all is reported and displayed correctly.
Steps to Reproduce:
Expected Behavior:
The Before and after hook should appear once, representing its execution for the associated test cases, without being duplicated in each test.
Actual Behavior:
The Before and After hook entry is duplicated in the Allure report for each test within the describe block.
Environment:
Allure version: 2.30.0
Test framework: Mocha Webdriverio
Node version: 18.16.0
Additional Information:
While the duplication doesn't impact the test execution itself, it can make reviewing the Allure report more cumbersome. The behavior may cause confusion during test result analysis, as users must realize that the duplicated Before entries refer to the same hook execution.
The text was updated successfully, but these errors were encountered: