rajatthareja/ReportBuilder

If tags are added at the example levels for scenario outline, then those examples are not reported in the html report

Closed this issue · 6 comments

If tags are added at the example levels for scenario outline, then those examples are not reported in the html report

@tag1
 Scenario Outline: Breaker joins a game
 Given the Maker has started a game with the word "<word>"
 When the Breaker joins the Maker's game
 Then the Breaker must guess a word with 5 characters

 @smoke @qa_only
 Examples:
   | word     |
   | silky    |
Examples:
   | word     |
   | second   |
   | third    |

if you run the above scenario and generate the report it will generate only three scenario in report and from that three it will say two are duplicate with (X2) added in scenario description

I have fix for this in the forked branched, I changed the logic by which duplicate scenarios are being detected.

@rajatthareja - Can we get this fix merged?

I have created the https://github.com/rajatthareja/ReportBuilder/pull/70. for this issue. I have also added one small functionality as an enhancement where now it will also support the embeddings if the embeddings are being made as text/html in after hooks

@chhatbarjignesh Thank you for reporting the issue.