Step Implementation missing error while implementing BDD: Scenario Outline feature
See original GitHub issueHello All ,
I have just started using cypress and was playing around with BDD : Scenario Outline feature.
hereby is my feature file :- Scenario Outline: User success sign in
Given Should be able to run on <devicename> Examples: | devicename| | iphone-6 |
And step definition is as follows:
Given(/^Should be able to run on {string}/, devicename => { viewportSize = devicename ; });
Where viewportSize is just a variable to be set as device name used within Examples.
Even though the step definition is implemented , I am getting an error stating:
cypress_runner.js:138498 Error: Step implementation missing for: Should be able to run on 'iphone-6'
Versions
Cypress version :- 3.0.1 Chrome browser version : 67
Note :- Other BDD scenarios including Scenario only are working fine. The problem is only with Scenario Outline.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top GitHub Comments
matches step:
matches step:
@haleagar - Thank you , your suggestion worked. Thanks a ton for your time and suggestion 😃