allure-framework / allure2

Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process
https://allurereport.org/
Apache License 2.0
4.07k stars 702 forks source link

time period is wrong on reports #1805

Open fenchu opened 1 year ago

fenchu commented 1 year ago

allure version 2.19.0

When I post to allure they all show this strange period in the upper left corner:

Allure Report 11/3/2022
6:57:16 - 7:04:11 (174d 01h) 

07:04:11-06:57:16=0:06:55

The url ends with: allure-docker-service/projects//reports/198/index.html

catch-21 commented 1 year ago

Version 2.21.0 When generating from xml report I notice the range is also incorrect. It measures from testsuites.timestamp to the longest testcase.time. It makes more sense to measure using testsutes.time.