Skip to content

Steps counter show wrong values #1579

Closed
@Florent-Bouisset

Description

@Florent-Bouisset

Hello, since I upgrade to v7 I have this issue (that I didn't have in v5.1):

The counter on the progress bar when using in combinaison with tags show erroneous max value, and the progress-bar size is also not adapted.

Step to reproduce:
By your own:
Run cucumber-js with options: --format progress-bar --tags <tag>

Minimal reproducible example:
https://github.com/Florent-Bouisset/bug-reproduce-cucumber/

npm run test

Expected result:
When the test is over the progress bar should show 5/5

Actual result:
When the test is over the progress bar show 5/15
15 is the number of step it should have done without the --tag option.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions