如何使用WDIO框架从BDD特征文件中创建步骤定义?
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 |
你查看过官方文档吗?他们有非常好的模板项目,这将有助于理解基础设置。