extent-framework / extentreports-csharp

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

Problem with Enabling Timeline #113

Closed gitvaibhavcodes closed 3 years ago

gitvaibhavcodes commented 3 years ago

I tried to set the Config.EnableTimeline to true, as we set Config.JS, etc. values but the timeline just doesn't appear.

Moshex commented 3 years ago

Seeing the same issue, not sure how to fix it.

namilkimfree commented 3 years ago

it's Uppercase when timeline.toString() but timeline display condition is timeline == true

I will be fix this issue wait please.

image

namilkimfree commented 3 years ago

https://github.com/namilkimfree/extentreports-csharp fork version fixed issue.

nuget download path is You can use https://www.nuget.org/packages/ExtentReports.BugFix/4.2.2 or higher.

anshooarora commented 3 years ago

In version 5 (currently in alpha), the usage is following to enable/disable this feature:

var extent = new ExtentReports();
var spark = new ExtentSparkReporter("Spark.html");
spark.Config.TimelineEnabled = true;

You can refer to the docs here: https://www.extentreports.com/docs/versions/5/net/index.html