multiple-cucumber-html-reporter icon indicating copy to clipboard operation
multiple-cucumber-html-reporter copied to clipboard

Question: How to format Cucumber JSON for Scenario Outlines / Examples data?

Open michaelsc93 opened this issue 2 years ago • 3 comments

Describe your question with as much detail as possible I would like to understand how the Cucumber JSON should be formatted for Scenario Outline with Examples data? If anyone can provide a JSON example this will help me to complete work on a JSON formatter package.

Additional context I am investigating https://github.com/Vitalizzzer/cucumber-json-report-formatter/issues/6

michaelsc93 avatar Jul 19 '22 12:07 michaelsc93

Sorry, missed this one. Can you provide some more context about what you want / looking for

wswebcreation avatar Sep 30 '22 11:09 wswebcreation

Not sure if this is regarding the same issue (kind of sounds like it though)

When I pass the example into both the 'Scenario Outline' and the 'When' like this:

image

It displays for the 'When' but not the 'Scenario Outline'

image

It also displays the background before each Scenario Outline, can this be changed to only show once?

w4dd325 avatar Apr 01 '23 18:04 w4dd325

I am facing the same issue, it seems like the variable placeholder is not resolved in the Scenario Outline description, and if you inspect the HTML source code you will find it as which is rendered by the browser as an empty HTML element.

Schengatto avatar Apr 20 '23 09:04 Schengatto