Commit Graph

17 Commits

Author SHA1 Message Date
David Négrier
0a3417e813 Adding a Docker image to have testcafe + docker-compose 2021-12-03 18:20:32 +01:00
David Négrier
c89afba6cd Working on more tests 2021-12-03 15:21:31 +01:00
David Négrier
78ee4009c8 Improving tests, WIP 2021-12-03 09:28:30 +01:00
David Négrier
a3b20cf065 Installing NPM dependencies in CI for tests 2021-12-01 14:29:51 +01:00
David Négrier
fcf0888864 Adding a reconnect feature in case first Pusher request fails
Now, if the first pusher request fails, a waiting message will be displayed and the application will reconnect when the pusher comes back alive or the network connection is established again.
2021-12-01 14:14:02 +01:00
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
David Négrier
eac4bb2875 Refactoring test cafe tests
- Using "Roles" to log users
- Adding seemingly useless import statement but important for code completion
2021-11-28 16:43:12 +01:00
David Négrier
dfad0a7b57 Removing useless wait 2021-11-24 12:03:48 +01:00
David Négrier
7c2bf8700b Fixing test 2021-11-24 11:50:23 +01:00
David Négrier
8eb346de25 Displaying logs in case of error 2021-11-24 10:58:26 +01:00
David Négrier
7ef6431b64 More CI debug 2021-11-24 10:21:35 +01:00
David Négrier
963486b663 Adding code to post screenshots of failed tests 2021-11-24 09:26:54 +01:00
David Négrier
a9ecbeec84 More CI fix 2021-11-24 09:12:24 +01:00
David Négrier
24249a1e74 Fixing CI 2021-11-24 08:57:49 +01:00
David Négrier
678fb71a7a More Github action fixes 2021-11-23 19:00:10 +01:00
David Négrier
ab337409a1 Trying to fix issue with Github rights 2021-11-23 18:42:25 +01:00
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