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.
 
 
 
 
 
 
workadventure/tests
dependabot[bot] 73e20c3a24
Bump follow-redirects from 1.14.7 to 1.14.8 in /tests
10 months ago
..
screenshots Adding end-to-end tests 1 year ago
tests Implement typesafe-i18n 10 months ago
.gitignore Adding end-to-end tests 1 year ago
.testcaferc.js increase timeouts (who knows....) 1 year ago
Dockerfile Update testcafe 11 months ago
README.md Fixing doc 12 months ago
package-lock.json Bump follow-redirects from 1.14.7 to 1.14.8 in /tests 10 months ago
package.json Upgrading testcafe to 1.18.0 12 months 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.