Skip to content

Run e2e tests on your local environment

Sean Moore edited this page Nov 1, 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 - to run all e2e tests on your local environment using wdio.conf.js

Note: By default tests will be executed in Chrome browser. Default port to serve the application is :4200. If you serve the application on the different port, please update baseUrl property of the CLI in the package.json file accordingly.

Clone this wiki locally