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
When I have beforeEach in my test suite and add test steps inside it will result in a report as several calls of beforeEach for each test. This happens because all beforeEach hooks will have exactly the same name
Describe the solution you'd like
A possible solution from my perspective here could be adding the name of the test on which beforeEach hook was called to the hook's name in report
Describe alternatives you've considered
Additional context
on the screenshot you can see the report for suite with 4 tests and beforeEach hook
The text was updated successfully, but these errors were encountered:
aposiker
changed the title
Allure-Mocha
Allure-Mocha: add test name to beforeEach name
Feb 23, 2022
When I have
beforeEach
in my test suite and add test steps inside it will result in a report as several calls ofbeforeEach
for each test. This happens because allbeforeEach
hooks will have exactly the same nameDescribe the solution you'd like
A possible solution from my perspective here could be adding the name of the test on which
beforeEach
hook was called to the hook's name in reportDescribe alternatives you've considered
Additional context
on the screenshot you can see the report for suite with 4 tests and beforeEach hook
The text was updated successfully, but these errors were encountered: