Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect count for Scenario outline #14

Open
marcelovani opened this issue Oct 27, 2023 · 1 comment
Open

Incorrect count for Scenario outline #14

marcelovani opened this issue Oct 27, 2023 · 1 comment

Comments

@marcelovani
Copy link

I am facing an issue using Cucumber Reports for Jenkins plugin https://plugins.jenkins.io/cucumber-reports/
Repo https://github.com/jenkinsci/cucumber-reports-plugin

Problem

Scenario outlines are not being counted, see screenshot
Screenshot 2023-10-27 at 09 14 21

How to replicate
I created a Jenkins job, using the output from https://github.com/cawolf/behat-cucumber-formatter/blob/master/features/eat-cukes.feature#L24-L281

The Jenkins job does the following:
1 - Creates json a file
Screenshot 2023-10-27 at 09 24 45
2 - Processes the json file
Screenshot 2023-10-27 at 09 25 36

@marcelovani
Copy link
Author

I figured out that the value for type should always be scenario, see

$scenario->setType('scenario_outline');

marcelovani added a commit to marcelovani/behat-cucumber-formatter that referenced this issue Oct 27, 2023
marcelovani added a commit to marcelovani/behat-cucumber-formatter that referenced this issue Oct 27, 2023
cawolf#14 Renamed type from scenario_outline to scenario
marcelovani added a commit to marcelovani/behat-cucumber-formatter that referenced this issue Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant