-1

How to create step definition from BDD feature file using WDIO framework

Scenario Outline: Verify the weatherForecast Application whether user can able to lunch the application for mentioned city
    When I open the url http://localhost:3000/
    Then I should be able to launch the application with header "Five Day Weather Forecast foreee"
    When I enter the <cityName> for weatherForecast

    Examples:
      | cityName  |
      | aberdeen  |
Greg Burghardt
  • 17,900
  • 9
  • 49
  • 92

2 Answers2

0

Did you check the official docs? They have really good boilerplate projects which will help in understanding the base setup.

https://webdriver.io/docs/boilerplate.html

Raju
  • 2,299
  • 2
  • 16
  • 19
0

You should find some working examples, nothing else, check this repository: https://github.com/webdriverio/cucumber-boilerplate