extent-framework / extentreports-java

Extent Reporting Library, Java
http://extentreports.com
Apache License 2.0
220 stars 126 forks source link

'keepLastRetryOnly' setting for node test #414

Open grasshopper7 opened 10 months ago

grasshopper7 commented 10 months ago

Hi, I was trying to include this functionality in the cucumber adapter but I think I have come across a bug.

The onNodeCreated() is searching for an existing test in the list which contains the top level tests. So a test node can remove a top level test with the same name. It should instead be searching for the tests among its siblings only.

For example in a Scenario Outline, a new Scenario within it should only check in the existing scenarios for this scenario outline.

Related to https://github.com/extent-framework/extentreports-java/issues/386.

Soumendu-Khilar commented 10 months ago

@anshooarora Any updates on this change in cucumber -adapter?

SSINGHPR commented 7 months ago

+Following, Facing similar issue with : https://github.com/grasshopper7/extentreports-cucumber7-adapter/issues/38