You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.. | ||
screenshots | 1 year ago | |
tests | 1 year ago | |
.gitignore | 1 year ago | |
.testcaferc.js | 1 year ago | |
Dockerfile | 1 year ago | |
README.md | 1 year ago | |
package-lock.json | 1 year ago | |
package.json | 1 year ago |
README.md
End-to-end tests
This directory contains automated end to end tests.
To run them locally:
$ npm install
$ ADMIN_API_TOKEN=123 npm test
You'll need to adapt the ADMIN_API_TOKEN
to the value you use in your .env
file.
Alternatively, you can use docker-compose to run the tests:
$ PROJECT_DIR=$(pwd) 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.