RADAR-base / ManagementPortal

Management Portal to manage research studies
Apache License 2.0
21 stars 16 forks source link

Mock succesful kratos login to reenable e2e testing #854

Open Bdegraaf1234 opened 3 months ago

Bdegraaf1234 commented 3 months ago

Using testcontainers, register a testuser, which can then be used to obtain a token.

mpgxvii commented 3 months ago

Sample of running e2e test: https://github.com/ory/kratos/blob/master/test/e2e/run.sh

Bdegraaf1234 commented 3 months ago

I mistakenly thought I had half a branch for this.

there is already some work done, in so far as there is a kratos testcontainer implemented: 8bd0be8d

There is also some discussion in this issue, but i closed it to prevent duplication: https://github.com/RADAR-base/ManagementPortal/issues/799