-
Notifications
You must be signed in to change notification settings - Fork 21
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
Maybe incorrect statistics on the report chart #85
Comments
Yeah, the percentage looks wrong. The number of test outcomes will include rows of test data, which may be why the test outcomes is reporting 4. Can you provide a sample project to reproduce the issue? |
Thank you for such a quick reply. I will provide a sample project tomorrow here.
|
If you want to take a look at the code yourself, the graph uses jscharts and is in the result-chart.ftl file - it could be a simple fix. |
Will take a look tomorrow if I get time. Thank you.
|
@wakaleo I haven't got time to dive too deep. But it looks like the ResultCounts that passed into the page, the counts are only filtered by Result, not tag. Just run |
Could you try with 3.2.0? |
tried with 3.2.0, still see the same issue. ps, above sample project is updated to use 3.2.0. |
The "All Tests" summary is correct, when a specific tag is selected, the stats are incorrect. |
Hi I was using cucumber-serenity for some tests, it runs great with awesome report view.
However, when I select some tags, the stats seem incorrect on the overview piechart.
Here's the screenshot of my report, when I select tag: Dev.
There should be only 2 tests. But the Test Outcomes showed 4, and the Overview piechart center has 200%, which will confuse people.
Here's how the feature file looks like:
When run the test, I do
mvn verify -Dcucumber.filter.tags="@dev or @qa"
The text was updated successfully, but these errors were encountered: