Reputation: 1
Scenario Outline: check offer exist
Then validate user "<user>" has offer with offerId "<offerId>"
Examples:
| user | offerId |
| ccccc |ccccccccc|
like in this scenario i want to change the wording of step without creating new one
change reflected immediately in the step definition file
Upvotes: 0
Views: 773
Reputation: 609
Check out the documentation:
https://cucumber.io/docs/cucumber/step-definitions/?lang=java
Step definitions can have regex.
Upvotes: 0