2021-11-23 15:42:52 +01:00
|
|
|
End-to-end tests
|
|
|
|
|
|
|
|
This directory contains automated end to end tests.
|
|
|
|
|
|
|
|
To run them locally:
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ npm install
|
|
|
|
$ npm test
|
|
|
|
```
|
|
|
|
|
|
|
|
Alternatively, you can use docker-compose to run the tests:
|
|
|
|
|
|
|
|
```console
|
2021-11-23 18:42:25 +01:00
|
|
|
$ UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.testcafe.yml up
|
2021-11-23 15:42:52 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Note: by default, tests are running in Chrome locally and in Chromium in the Docker image.
|