-1

如何使用 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  |
4

2 回答 2

0

你查过官方文档吗?他们有非常好的样板项目,这将有助于理解基本设置。

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

于 2020-06-07T11:24:23.077 回答
0

您应该找到一些工作示例,仅此而已,请检查此存储库: https ://github.com/webdriverio/cucumber-boilerplate

于 2022-02-23T15:37:34.723 回答