joonvena / robotframework-reporter-action

This action can be used to send parsed test report as comment to that commit that triggered test run
27 stars 14 forks source link

Duration is 0s #36

Open 723novy723 opened 4 months ago

723novy723 commented 4 months ago

Duration of test is displayed as 0s. Not sure if it is caused by only one test in the suite, but based on xml file there is no duration property. Attaching screenshot and xml file in zip for your reference. rf result output.zip

charleslana commented 2 months ago

Same problem here image

image

HTML.. contains duration image

Guy-SE commented 1 month ago

Same here, and I noticed that in the gitub workflow log which might be related :

Status: Downloaded newer image for joonvena/robot-reporter:v2.5
2024/10/23 14:03:29 strconv.ParseFloat: parsing "": invalid syntax
Guy-SE commented 1 month ago

For other people with the same issue : You can fix this by upgrading robot framework OR going back to a previous version of reporter.

There is also a pull request submitted to the main reporter repository to fix it ; https://github.com/joonvena/Robot-Reporter/pull/16