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

CodeceptJS: While using with Feature files, Steps are displayed as nested in the report

Open AugustineAutoGit opened this issue 9 months ago • 2 comments

Describe the bug 3rd step onwards it getting nested like 3rd step under 2nd step, 4th under 3rd step etc. Please refer the screenshot below. The steps with purple arrows

To Reproduce Execute a sample CodeceptJS script with feature file having scenarios with more than 3 steps

Expected behavior All steps should be displayed properly as step 1 and 2

Screenshots

Image

Additional context All Gherkin steps should be displayed properly

AugustineAutoGit avatar Feb 26 '25 12:02 AugustineAutoGit

@baev could you please have a look into this issue?

AugustineAutoGit avatar Apr 10 '25 11:04 AugustineAutoGit

We're currently focused on revisiting the Pytest and PHP integrations, so we'll return to JavaScript-related issues in a couple of weeks. Stay tuned!

Meanwhile, it helps a lot if you can provide an example project to reproduce the problem, preferably using the official example https://github.com/allure-examples/codeceptjs-npm-js as the baseline.

baev avatar Apr 10 '25 12:04 baev