Say I have:
@Given("first name is $firstName")
@Given("first name is $firstName and last name is $lastName")
The following step would be marked as ambiguous:
Given first name is John and last name is Smith
Without using quotes to surround the first parameter, how can I fix this step so it only matches the second one? Using quotes to surround both the parameters separately also has the same ambiguity issue.
Is there a limit on how long each parameter is? Are there certain characters that can't be passed in?