Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.09 KB

File metadata and controls

19 lines (14 loc) · 1.09 KB

End-to-end tests setup

Local runs

The end-to-end testing setup options used by the rushx test:e2e:local can be found in wdio.local.conf.ts.

By default, the enabled driver for local tests is the chromedriver which will instrument a local chrome instance. The version of the corresponding chromedriver package in the package.json file should be one matching to your local chrome version. E.g. for Chrome version 140, you need to install chromedriver@140.

To enable testing with other browsers such as Microsoft Edge and Safari, you need to:

  1. Uncomment the capabilities and services entries on wdio.local.conf.ts.
  2. Install the safaridriver and/or msedgedriver on your local machine. (Instructions will depend on your OS.)
  3. Start any driver program you want before running the tests.
  4. In case of driver port conflicts, you can adjust each driver by their respective configuration.