Skip to content

Run e2e tests on your local environment

Anton Olkhovskyi edited this page Mar 24, 2021 · 2 revisions

To run e2e tests on your local you need to execute following npm commands:

  1. npm ci
  2. npm run start - to serve the application locally.
  3. npm run e2e:wdio:local - to run all e2e tests on your local environment using wdio-local.conf.js

Note: Be default tests will be executed in Chrome browser, in headless mode. Default port to serve the application is :4200. If you serve the application on the different port, please update baseUrl property of wdio-local.conf.js accordingly.

Clone this wiki locally