You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each scenario expanded from an example line contains its own embed.
Actual Behaviour
The first scenario contains embeds from all scenarios.
Example
Based on the example as in related issue #804; the only change is to add another example to the feature file:
Feature: JSON embeddingScenario Outline: can't embed in the first step with JSON formatterGiven I try to embed <something>Examples:
| something | | foo | | bar |
To be precise, in case of scenario outlines in expanded mode, the embeddings are recorded in the preceding step, unless it is the very first step executed, then the embeddings are recorded correctly in that step. On JRuby, on the other hand, a NullPointerException is thrown from the (Java version of) the gherkin library when using embed in the first step executed for an scenario outline (in expanded mode).
Software
cucumber: 2.0.0.rc.3
gherkin: 2.12.2
Expected Behaviour
Each scenario expanded from an example line contains its own embed.
Actual Behaviour
The first scenario contains embeds from all scenarios.
Example
Based on the example as in related issue #804; the only change is to add another example to the feature file:
Note the following test values and their corresponding base64 encoded value:
The text was updated successfully, but these errors were encountered: