Cucumber step now not being found when using a choice of words in step

1.8k Views Asked by At

I have the following in a step "Given('I am logged in/as {string}')". This works and the test passes using either of the options in or as. It is however being flagged with the "Unable to find step for" error.

Previously no error was being displayed for this but has all of a sudden appeared. I am using cucumber in a wdio project and have not made any changes in this area in a while.

0

There are 0 best solutions below