workadventure/tests
David Négrier a82f4e1813 Adding end-to-end tests
The first test is testing a tricky cache scenario with the back when testing variables.
The end-to-end package used is testcafe.
2021-11-23 15:43:34 +01:00
..
screenshots Adding end-to-end tests 2021-11-23 15:43:34 +01:00
tests Adding end-to-end tests 2021-11-23 15:43:34 +01:00
.gitignore Adding end-to-end tests 2021-11-23 15:43:34 +01:00
.testcaferc.js Adding end-to-end tests 2021-11-23 15:43:34 +01:00
package-lock.json Adding end-to-end tests 2021-11-23 15:43:34 +01:00
package.json Adding end-to-end tests 2021-11-23 15:43:34 +01:00
README.md Adding end-to-end tests 2021-11-23 15:43:34 +01:00

End-to-end tests

This directory contains automated end to end tests.

To run them locally:

$ npm install
$ npm test

Alternatively, you can use docker-compose to run the tests:

$ docker-compose -f docker-compose.testcafe.yml up

Note: by default, tests are running in Chrome locally and in Chromium in the Docker image.