extentreports-dotnet-cli icon indicating copy to clipboard operation
extentreports-dotnet-cli copied to clipboard

Timestamp in summary report is not getting updated currectly.

Open preetipadalia opened this issue 6 years ago • 7 comments

Hi, In summary report generated by Extent CLI the timestamp value against each step and test is automatically creating as per the time of running of extent exe. The timestamp values are not getting picked up from TestResult.xml .

Kindly help.

Thanks Preeti

preetipadalia avatar May 27 '19 11:05 preetipadalia

@pp1609 Can you share a sample result.xml that I can check using and also the command you used?

anshooarora avatar Dec 26 '19 07:12 anshooarora

Hi,

I also see this issue in my generated report files.

Please find the screenshot attached. image

Thanks, Vishwa

VishwaUpadhyay avatar Feb 20 '20 18:02 VishwaUpadhyay

Thanks, will look into this.

anshooarora avatar Feb 28 '20 02:02 anshooarora

I have the same problem. It looks like end time of test is overwritten by end time of html report generation

rafall92 avatar Nov 23 '21 19:11 rafall92

@rafall92 I have the same problem, too. Do you know how to fix this problem? Thanks!

a060146251 avatar Mar 29 '22 09:03 a060146251

Same problem here, I am looking into the code to check where this wrong date is set

igorrecioh avatar Mar 30 '22 09:03 igorrecioh

I'd say that it is related to --> https://github.com/extent-framework/extentreports-csharp/blob/master/extentreports-dotnet-core/Model/Test.cs#L250

I can see in the code that start-time and end-time is being correctly set here --> https://github.com/extent-framework/extentreports-dotnet-cli/blob/master/ExtentReportsDotNetCLI/ExtentReportsDotNetCLI/Parser/NUnitParser.cs#L75-L83

Can @anshooarora @dsparkplug or @ZimM-LostPolygon confirm this? Thanks a lot

igorrecioh avatar Mar 30 '22 11:03 igorrecioh