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

Ambiguous step definitions #41

Closed
codener opened this issue Jan 13, 2015 · 1 comment
Closed

Ambiguous step definitions #41

codener opened this issue Jan 13, 2015 · 1 comment
Assignees

Comments

@codener
Copy link
Member

codener commented Jan 13, 2015

The "within" step collides with the "checkbox should be checked" step.

Error message:

Ambiguous match of "the "Project A" checkbox within '.projects' should be checked":

spreewald-1.1.1/lib/spreewald/web_steps.rb:40:in `/^(.*) within (.*[^:])$/'
spreewald-1.1.1/lib/spreewald/web_steps.rb:267:in `/^the "([^"]*)" checkbox(?: within (.*))? should be checked$/'

Suggested solutions:

  • a) remove "within" support from the checkbox step, as the within steps takes care of this
  • b) for better wording, find a way to turn of the within step for the checkbox step
@triskweline
Copy link
Member

Let's do a) (and accept that it breaks a few scenarios).

@codener codener self-assigned this Jan 20, 2015
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