anshooarora / extentreports-java

Community version of Extent API for Java has moved to https://github.com/extent-framework/
http://extentreports.com
Other
528 stars 318 forks source link

Extent Header chart is showing incorrect results of failed steps and tests #1116

Open ishah09 opened 6 years ago

ishah09 commented 6 years ago

Summary

Extent Report : 3.1.5

Header section is showing information of Total number of Test and Steps based on total number of execution, However I found chart is showing incorrect results for Failed steps, tests, Its in multiple reports.

Please refer below references: |

Ref-1 :

image

Expected Behavior : As you can see, 2 steps are failed but its showing as 0.

Ref-2 :

image

Expected Behavior : There are more than 4+ test which were failed, There should be 4 step to be failed instead of 2.

Current Behavior

Not able to understand how it is counting failed steps !

Environment Details

Extent report: 3.1.5 Operating System: Win10_62 JDK Version: 10

foursyth commented 6 years ago

Can you share this report here or at info@extentreports.com? Note: when marking a test as failed, you can't just mark the parent as failed. If there is a child, it must be marked as failed instead resulting in the parent failing as well.

PS. Version 4 is right around the corner and has several fixes which include several scenarios for counting status based on usage.

ishah09 commented 6 years ago

I am sharing you reports on mentioned email id. It would be great if its giving total number of Fail test and steps by including parent and child.

Awaiting for version 4 !