joonvena / Robot-Reporter

Robot Reporter is a tool for Robot Framework test reporting.
7 stars 6 forks source link

Robot Framework elapsed time format fix #13

Closed vikulin closed 8 months ago

vikulin commented 9 months ago

GitHub Action does not show tests duration for Robot Framework 7.0 reports:

2024-02-13_13h53_23

Robot Framework elapsed time format fix accordingly to the output.xml file format in RF 7.0.

Verified the fix for my own DockerHub image and got following results:

2024-02-14_12h00_54
delreluca commented 9 months ago

For me it fails completely on a Rebot 7.0 file because it cannot parse an empty string as timestamp (which is due to the removal of starttime and endtime I guess). Wonder why it does not fail for you but shows 0s instead.

vikulin commented 9 months ago

@delreluca accordingly to the PR starttime and endtime have been removed and changed to elapsed which corresponds to the new RF format.

delreluca commented 9 months ago

@delreluca accordingly to the PR starttime and endtime have been removed and changed to elapsed which corresponds to the new RF format.

True, but for me it doesn’t even generate the report because of it. From your first screen shot I gather that for you it generates a report but with 0 duration. Not sure why the behaviour is different. But I am looking forward to seeing this merged 🙂

vikulin commented 9 months ago

@delreluca I suspect the author is not actively watching PRs here so you can use vikulin/robotframework-reporter-action@v2.5 as a reference to the latest reporter. That image was published in GockerHub.

delreluca commented 8 months ago

@joonvena Are there plans for RF7 support?