allure-js icon indicating copy to clipboard operation
allure-js copied to clipboard

allure-cucumberjs: report skipped scenarios in case of before hook failure

Open baev opened this issue 11 months ago • 0 comments

Discussed in https://github.com/orgs/allure-framework/discussions/2410

Originally posted by devrajshetake March 11, 2024 I am using Cucumber and Playwright with typescript to run my BDD tests. The allure report I am generating contains all the executed scenarios, but it does not contain the scenarios which are not executed. A BeforeAll hook runs before execution of all the scenarios within a tag, the problem arises when the BeforeAll hook fails for some reason, all the scenarios within this tag wont be executed, so they wont be mention in the report. Due to this, the total number of scenarios within my test suit are being displayed less in the report. I want the unexecuted scenarios to be mentioned in the allure report. Is there a way to do so? Please help.

baev avatar Mar 12 '24 17:03 baev