Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with subset step #68

Open
eossa opened this issue Mar 29, 2023 · 1 comment
Open

Bug with subset step #68

eossa opened this issue Mar 29, 2023 · 1 comment

Comments

@eossa
Copy link

eossa commented Mar 29, 2023

Having the following feature:

Feature: A feature name
  @first
  Scenario: First scenario
    Given something
    When Foo bar
    Then print foo bar

  @second
  Scenario: Second scenario
    Given something
    When Foo bar taz
    Then print foo bar taz

When run this feature the When and the Then steps of the second scenario are not executed, instead of that the When and the Then steps of the first scenario are executed twice.

If I change the step to When Foo-bar taz then the step is executed.

@youssef-t
Copy link
Contributor

You can check this issue #66

Another solution is to declare "print foo bar taz" before "print foo bar" in the list that contains your steps definitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants