-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Scenario count (including rows of test data) is not updated properly in Serenity 2.0.xx #1802
Comments
Can't reproduce with serenity-core 1.0.70 and serenity-cucumber 1.0.25. Can you provide a sample project that reproduces the issue? |
Hi @wakaleo , Issue is resolved in the version mentioned(serenity-core 1.0.70). But, the issue is still reproducible when we execute our tests in Jenkins. |
This issue happens in Zalenium - Jenkins when we execute multiple features with scenario outline. When we execute a single feature with Scenario outline, Report is generating correctly |
Hi @wakaleo , I am not able to run the test using -Dcucumber.options. |
Do the multiple files have different feature and scenario outline names? |
Yes. multiple files have different features and scenario outline names. There is one more weird observation. When I executed my whole test suite in Zalenium(Jenkins) without the -Dcucumber.option"--tags @something", the total scenario count is displayed as expected. |
I've been able to re-create this issue in Full config:
Running the above Maven command in this sample project should show you the issue. |
Thanks for reproducing this. There isn't any special support for the failsafe retries feature, so apparently something about the. way it records the results confuses the Serenity reporting. If you want to have a look at the code to see what is going on, I'd be happy to review a PR. |
Serenity Core Version: 1.8.1
Serenity Cucumber Version: 1.6.5
Serenity Core Version: 2.0.56
Serenity Cucumber Version: 1.9.40
Scenario Results (including rows of test data) should be Total of 168 in which 166 Automated and 2 Manual. But, it is displayed as 93 Total in which 91 Automated and 2 Manual.
Similarly for feature file having 2 Scenario outline(totals 6 scenarios), the count is mentioned as 2 in the Functional Coverage Overview instead of 6.
The text was updated successfully, but these errors were encountered: