Commit Graph

5 Commits

Author SHA1 Message Date
Bruno Bernardino 83e6c74936
Fix server crashing with malformed requests
It also adds tests to ensure there are no regressions.

Closes #381
2022-02-17 14:33:07 +00:00
Bruno Bernardino e6d097030e
Fix v3 signup test. 2022-02-12 08:17:25 +00:00
Bruno Bernardino 5aa2d19865
Add v3 compatibility end-to-end test
This is still a WIP. It adds the basic skeleton for the tests and is going through the signup, but currently unable to finish.
2022-02-09 17:15:08 +00:00
Bruno Bernardino 8ecb82c395
Finished setting up the signup and login tests.
There's still a problem of not being able to reproduce from a clean slate because the `packages/server/data` folder is always being used, and the browser appears to keep some state, somehow.
2022-01-24 18:13:10 +00:00
Bruno Bernardino f905ab77c6
First e2e test (via cypress)
This adds the first e2e test via [cypress](https://cypress.io). It's still incomplete, but it was a bit of a pain to figure out the shadow dom stuff.

The next step is to force a specific verification code when running via tests so the test can progress.
2022-01-21 18:51:27 +00:00