Cucumber JVM supports "Scenario Outline". With Scenario Outline, user is able to iterate though pre-determined values with the same scenario. Below is an example, and comparison with Scenario:
`
Scenario Outline: With outline
Given Print different name
Examples:
|name|
|boo|
|boo2|
Scenario: Without outline
Given Print my name
`
Expected result:
CucumberExtentReporter should display each of Scenario Outline run in different scenario. This should works for both default HTML report and ExtentX report.
Actual result:
The ExtentX report displays each run in different sub-scenario entries, however the steps are not visible, ie. clicking either With Outline entries do not expand:
Conversely, the default HTML report does display each run in different sub-scenario entries as expected:
I think this is isolated to CucumberExtentReporter only. Tried with out of the box solution for ExtentX, it seems to work:
Description:
Cucumber JVM supports "Scenario Outline". With Scenario Outline, user is able to iterate though pre-determined values with the same scenario. Below is an example, and comparison with Scenario: ` Scenario Outline: With outline Given Print different name
Examples:
|name|
|boo|
|boo2|
Scenario: Without outline Given Print my name `
Expected result:
CucumberExtentReporter should display each of Scenario Outline run in different scenario. This should works for both default HTML report and ExtentX report.
Actual result:
The ExtentX report displays each run in different sub-scenario entries, however the steps are not visible, ie. clicking either With Outline entries do not expand:
Conversely, the default HTML report does display each run in different sub-scenario entries as expected:
I think this is isolated to CucumberExtentReporter only. Tried with out of the box solution for ExtentX, it seems to work: