serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

Serenity Report : The placeholder (column) values in the second Examples table of a scenario is all mixed-up #105

Closed Ram-Raghu closed 6 years ago

Ram-Raghu commented 6 years ago

Description:

The placeholder values in the second Examples table of a scenario is all mixed-up

Steps to Reproduce:

1) Write a Gherkin scenario outline with Examples split into two like in the below example 2) Run the test from maven (mvn clean verify) and check the report

Expected Results:

The column title in the examples table for a scenario should match with its values.

Actual:

When there are more than 1 examples sets present for a scenario, the column values of the second or subsequent examples tables in the serenity report are all mixed-up and not as per the Gherkin scenario examples table.

Environment:

1.8.1 1.7.2 1.6.5 **Example:** Scenario Outline: Add account Given the account with following details: ,, When I update the acccount to a Then I should be informed of the successful account update Examples: Add bank account |accountType|heldBy |servicesSupported | |bankaccount|individual|Deposit,Withdrawal | Examples: Add card account |accountType|heldBy |servicesSupported | |cardaccount|business |Deposit,Withdrawal | ![image](https://user-images.githubusercontent.com/28475399/33160388-013c3acc-d070-11e7-9bd3-6f6d3a7e818e.png)
cliviu commented 6 years ago

hi @rraghuna . I cannot reproduce your issue. Can you please provide an example for us ? Thanks !

Ram-Raghu commented 6 years ago

Hi @cliviu ,

Please find attached a sample project which reproduces this issue. Thanks.

sample.zip

Ram-Raghu commented 6 years ago

Many thanks, @cliviu.

I have tested this issue and table title and the data are as per the input and not mixed up.