Allure Steps are not aligned with Cucumber scenario #1740
-
Hi, i'm generating Allure report for Cucumber + TypeScript test and i see some steps are printed under following scenario line instead of the one who executed it, something like : Scenario : Coming home Once report generated i see STEP 3 appears under the 'When i greet my family'. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
UPD : i've added a reporter.closeStep into the afterStep function if (result.passed) and that's fixed the issue : |
Beta Was this translation helpful? Give feedback.
UPD : i've added a reporter.closeStep into the afterStep function if (result.passed) and that's fixed the issue :
if (result.passed) {
await Reporter.closeStep(false);
}