(feat): adds e2e test with registration and login workflow#97
Conversation
108512b to
89288bd
Compare
benjaminstrasser
left a comment
There was a problem hiding this comment.
nice work!
just some small stuff.
The test is currently failing if you run it multiple times. See #10
Create a test/reset endpoint to reset the database, secured with an environment variable and a JWT.
What are thoughts on this approach?
89288bd to
c5e9be7
Compare
Agree we need a strategy for that, for now this setup is sufficient for the single test that we have. It's out of scope for this PR, there are some good ways (session storage, multiple workers etc.) that we can discuss. Just by adding this simple registration/login flow test, we already protected ourself from non-obvious failing releases. |
I already created a setup with basic playwright fixtures. PR coming soon! |
|
@benjaminstrasser please make sure you add the data-testid's for the components in #84 |
No description provided.