extentreports-java icon indicating copy to clipboard operation
extentreports-java copied to clipboard

Child tests node time and node duration are changing for previous tests in append tests run mode

Open serathggit opened this issue 6 years ago • 3 comments

Summary

Using extent reports version 3.1.2 using java maven dependency

  1. First executed one test case and observed that child node time and duration are shown correctly.
  2. Then re executed the same above test case in append mode. Now both the test case results are shown in the extent report as i've made append mode as true.

For the latest test case executed, child node time and duration are shown correctly. But child node time and duration for the previous test case have got changed to latest time stamp by replacing the previous values.

Expected Behavior

In append mode if we execute tests, then child node time and duration for the previous tests executed should not change

Current Behavior

In append mode if we execute tests, then child node time and duration for the previous tests executed are getting updated to current time stamp

Both the times, same test case has been executed and child node duration is shown correctly for only latest test case execution. For previous test case execution child node time and duration are changing.

Is this due to some issue in the library or am i doing any mistake?

Screenshots

previous test case child node times latest test case execution child node times

serathggit avatar Mar 05 '18 10:03 serathggit

There is a defect already open for this. However, no ETA and this is very low down in the priority list as this is a rarely used feature.

anshooarora avatar Mar 05 '18 13:03 anshooarora

Similar to #1034.

anshooarora avatar Mar 05 '18 13:03 anshooarora

Very commonly used actually, please fix the same

sibirchakraborty avatar Jul 30 '18 04:07 sibirchakraborty