AOEpeople / geb-spock-reports

Integrates Geb screenshots into the spock-reports library
Apache License 2.0
36 stars 11 forks source link

stale links in html report after re-running a spec #8

Closed rosemead closed 5 years ago

rosemead commented 6 years ago

E.G., if I

If I delete geb-report-info.json before rerunning the fixed spec, the html report is fine.

tilmanginzel commented 6 years ago

Hey @rosemead,

this is a known issue for which I don't know any solution. I would recommend to run ./gradlew clean before executing the tests again if you want to have a clean report.

Unfortunately, as far as I know there is no way for the GebReportingListener to notice that a spec was re-run, so that old artifacts could be discarded. Do you have any idea?

tilmanginzel commented 5 years ago

I will close the issue as it is currently not possible to solve this. There is now a note in the readme to make aware of it.

Feel free to re-open if new ideas on possible fixes come up.