allure-framework / allure-framework/allure-js

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

Open
#1,265 2 comments 1 reaction 0 assignees View on GitHub
theme:codeceptjs
Dominant language
TypeScript
Stars
281
Forks
137
Avg merge
1d 11h
Merged PRs (30d)
13

Description

**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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a CodeceptJS sample using a feature file and a scenario containing more than three steps. Inspect how the report represents those Gherkin steps; done means every step is displayed at the same level rather than each later step appearing nested under the previous one.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.