partey_workadventure/tests
David Négrier 06483fd586 Fixing "Query string parameters prevent WA from loading"
Due to a regression, query string parameters added to the URL (like:

http://play.workadventure.localhost/_/global/maps.workadventure.localhost/starter/map.json?utm_source=sendinblue&utm_campaign=WA+-+2021+Christmap+map+launch&utm_medium=email#foo

) were causing a crash in WA.

This commit fixes the issue (and adds a E2E test)
2021-11-30 14:34:43 +01:00
..
screenshots Adding end-to-end tests 2021-11-23 15:43:34 +01:00
tests Fixing "Query string parameters prevent WA from loading" 2021-11-30 14:34:43 +01:00
.gitignore Adding end-to-end tests 2021-11-23 15:43:34 +01:00
.testcaferc.js Displaying logs in case of error 2021-11-24 10:58:26 +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 More CI fix 2021-11-24 09:12:24 +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 --exit-code-from testcafe

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