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

Multiple States are executed #93

Open
PMT87 opened this issue Sep 17, 2018 · 0 comments
Open

Multiple States are executed #93

PMT87 opened this issue Sep 17, 2018 · 0 comments

Comments

@PMT87
Copy link
Contributor

PMT87 commented Sep 17, 2018

Issue Overview

2 States are executed before Test if one State contains name of the other State

  @State("this is the first state")
  public void firstState() throws URISyntaxException {
    postState("this is the first state");
  }

  @State("this is the first state extended with something")
  public void firstStateExtended() throws URISyntaxException {
    postState("this is the first state extended with something");
  }
Expected Behaviour

Each State should be matched on the whole String name value

Current Behaviour

Both States match before the test of "this is the first state extended with something" starts and both states will be prepared. The resulting state may fail for "this is the first state extended with something".

Additional Information

Running on Windows 10.

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

1 participant