Add ability to see failed retries in html-report (using gauge native retries)
gadgadskiy opened this issue · 6 comments
Please add ability to attach failed steps or logs in html-report if test was passed after 2nd/3rd try using native gauge retrying mechanism. Currently we can see fails only in build log, but in report there's showing only last (successful) result. And it isn’t obvious that test is flaky.
Steps to reproduce
- Run test with retrying (
gauge run --max-retries-count=2
orgauge:execute -Dflags=--max-retries-count=2
on TeamCity) - One of steps in test should fail first time and pass second time.
Expected behavior
There's some mark or logs in html report that step was failed one time.
Actual behavior
Nothing in report shows that there was failed tries.
Gauge version
1.0.6+
Will we have some options to add some data about failed attempts to html-report?
like some logs/screenshots etc?
Can you please raise another issue for that?
For now it will be a simple marker. Adding more info about previously failed tests will require more thinking and effort.
Can someone please confirm if this feature added to the json-report as well? A property to identify "Retried times" in JSON report
This feature is not available in JSON report. Please create and issue (or PR) at https://github.com/getgauge-contrib/json-report/issues