Skip to content

Scenario Outline with multiple examples dosent work #1082

@cherifGsoul

Description

@cherifGsoul

I want to use Scenario Outline with multiple examples table but it runs the last examples table only, here is an example

Feature: testing scenarios with multiple examples section
        Scenario Outline: outline
          When a table step:
            | first   | second   |
            | <first> | <second> |

        Examples: First set of examples
          | first   | second  |
          | 1       | 2       |

        Examples: Second set of examples
          | first   | second  |
          | 3       | 4       |
          | 5       | 6       |

this example is taken from cucumber issue cucumber/cucumber-js#217 where it had the same issue and it was considered as a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions