webdriverio-boneyard / wdio-cucumber-framework

A WebdriverIO v4 plugin. Adapter for Cucumber testing framework.
MIT License
77 stars 61 forks source link

stepResult.getAmbiguousStepDefinitions is not a function #81

Closed slava-iv closed 6 years ago

slava-iv commented 7 years ago

Hi, received this error in logs: "stepResult.getAmbiguousStepDefinitions is not a function"

JeremyAtEverwise commented 6 years ago

I got this error when I reused the same step definition in both my When and Then files. The step name was being used globally, so I had to change the step wording so I could call a step in my When or Then file without triggering this error.