Closed jrod567 closed 1 day ago
Agreed. Version 4 impl had cleaner representation:
<p class="duration text-sm">@test.RunDuration.ToString("''h'h:'m'm:'s's+'fff'ms'")</p>
<span class="datetime">@test.StartTime.ToString("HH:mm:ss tt")</span>
Impacted line of code: https://github.com/extent-framework/extentreports-csharp/blob/master/ExtentReports/Views/Spark/Partials/SparkTestSPA.cshtml#L78
Closing this as the above PR reverts to the old way of showing a test's run duration:
In v4, the duration of test was automatically formatted to hours/min/seconds/ms. In v5, it appears to always be in ms.
Is it possible to format the duration of a test?
For example: