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

CodeceptJS: While using with Feature files, not able to see Gherkin(Given, When, Then) Steps in the report

Open AugustineAutoGit opened this issue 10 months ago • 2 comments

Is your feature request related to a problem? Please describe. While using Allure report with CodeceptJS along with Feature files, not able to see Gherkin(Given, When, Then) Steps in the report

Describe the solution you'd like Report should have the Gherkin(Given, When, Then) Steps and should be able to enable/ disable it like we use it with Allure-Playwright using detail: false

Image

Describe alternatives you've considered @codeceptjs/allure-legacy does this, but it's no longer maintained

AugustineAutoGit avatar Feb 23 '25 05:02 AugustineAutoGit

The issue should be fixed in 3.2.0, please give it a try

baev avatar Feb 23 '25 09:02 baev

@baev yes it works in 3.2.0, but 3rd step onwards it getting nested like 3rd steps under 2nd step, 4th under 3rd step etc. Please refer the screenshot below. The steps with purple arrows

Image could please give a solution/fix/workaround(if any) for this

AugustineAutoGit avatar Feb 24 '25 19:02 AugustineAutoGit

Thank you for creating a separate issue for the nested gherkin steps. Closing this one as the original issue fix has been confirmed

clergyman avatar Aug 13 '25 10:08 clergyman