extent-framework / extentreports-csharp

Extent Reporting Library, .NET
http://extentreports.com
Apache License 2.0
49 stars 40 forks source link

Duplicate graph in Dashboard when Analysis.Strategy = Test #220

Closed jrod567 closed 2 days ago

jrod567 commented 2 days ago

In v5, I've noticed a duplicate graph of the "Tests" graph when ExtentReports.Report.AnalysisStrategy = AnalysisStrategy.Test. This was not the case in v4:

image

jrod567 commented 2 days ago

Looking at the dashboard closer, it also appears the total run duration is missing/no longer available as seen in v4. A different issue , but wanted to make mention of it.

anshooarora commented 2 days ago

This is a bug. I'm able to reproduce this with the following:

using AventStack.ExtentReports;
using AventStack.ExtentReports.Reporter;

var extent = new ExtentReports();
extent.AttachReporter(new ExtentSparkReporter("index.html"));
extent.CreateTest("Test").CreateNode("Node").CreateNode("Node").Pass();
extent.Flush();
anshooarora commented 2 days ago

Looking at the dashboard closer, it also appears the total run duration is missing/no longer available as seen in v4. A different issue , but wanted to make mention of it.

This would be an enhancement. Can you open a new issue for this? Thanks.

anshooarora commented 2 days ago

Also published a new package with the fixes: https://www.nuget.org/packages/ExtentReports/5.0.5-beta1

jrod567 commented 1 day ago

Thank you anshooarora! Confirmed working in 5.0.5-beta1

jrod567 commented 1 day ago

Looking at the dashboard closer, it also appears the total run duration is missing/no longer available as seen in v4. A different issue , but wanted to make mention of it.

This would be an enhancement. Can you open a new issue for this? Thanks.

Created https://github.com/extent-framework/extentreports-csharp/issues/222