Open Soumendu-Khilar opened 1 year ago
There is no solution to remove failed tests in retried scenarios. Tests should not be removed from the report without the user knowing abut it. Will have a look at a solution.
Can their be a workaround for this because as of now if there is a failed test case then the entire feature is marked as failed irrespective of if the retried test run passes. This behavior is incorrect.
Currently I do not have spare time to look at this. Not exactly sure about timelines. I would suggest you look at another reporting solution which addresses this specific need. Thx.
@Soumendu-Khilar did you find any solution for the problem that you mentioned above.
@darasandeep91 No, I didn't find any solution.
THis has been added in version 5.1.0 of the extent report with a configuration setting. Please go through the changelog in the extentreport repository
@grasshopper7 I am using extentreports-cucumber7-adapter Version: 1.14.0 . I do not found the docs about retried test. I tried adding keepLastRetryOnly=true in extent.properties but it did not work. Could you please help on what to keep on properties file or provide me the docs link where this information is provided. Thank you
https://github.com/extent-framework/extentreports-java/issues/386 you are right it needs to be enabled in the adapter code. I will reopen and fix this. Thx.
Following This +
I have a similar issue reported with this request, since I am not sure if it was fixed yet like mentioned by the @grasshopper7 above:
https://github.com/grasshopper7/extentreports-cucumber7-adapter/issues/38
Thanks for all your help @grasshopper7.
@rameshkhatri1 DId you find any solution for this ? I'm still not sure where to use the "keepLastRetryOnly=true".
Currently when a Cucumber test case is retried using Retry Analyzer the result of all the runs for a test case is displayed in extent reports. This is causing an issue where if a test case PASSES in the second run the overall status still shows that the feature has FAILED. Is there any implementation to include only the last run of a test. Run 1 - Failed Run 2 - Failed Run 3 - Passed
Only Passed result to attach in extent reports.