partey_workadventure/tests/README.md

19 lines
419 B
Markdown
Raw Normal View History

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-24 08:57:49 +01:00
$ DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe
```
Note: by default, tests are running in Chrome locally and in Chromium in the Docker image.