Closed bughunter7 closed 4 years ago
How many rows do u have in the scenario outline? Add ur feature file. Is it double or just one additional test count?
Feature file I am using has only one test count -
Note : This happens only when scenario outline keyword is used in feature file works fine in case of only scenario keyword .
Feature: Backend Order Creation
@Checkout
Scenario Outline: User Creates an order From Backend
Given user is on Landing Page
When he enters his username and password to test OrderCreation TC
And clicks on sales
And clicks on orders
And clicks on create new order
Then he enters the
Examples:
| email id | userid | sku | po number |
| tomailior.com | 70 | 00-2118860-4-106-a0820 | 1234 |
The adapter collects and sends the data to the existing Extent Spark Report which applies the logic for report creation. If the data collection logic is changed at the adapter level by ignoring the scenario outline then the report will not display the scenarios under a scenario outline but as independent scenarios. Pretty sure there would be other consequences. My understanding is that this needs to be looked at from the Extent Report level. As you have already created a similar issue in that repo, it would be my suggestion to get their feedback on this.
When Running a Scenario Outline the count in the dashboard is incorrect . it displays double count to what scenario is executed also tags section shows same scenario title twice.
Please find Below link for report screenshots – https://github.com/bughunter7/ExtentReportIssue
Dependency used –
tech.grasshopper extentreports-cucumber6-adapter 1.2.0 test
Please let me the solution its urgent .also let me know if any more info required from my end awaiting for your response 🙂