ManagementPortal icon indicating copy to clipboard operation
ManagementPortal copied to clipboard

Mock succesful kratos login to reenable e2e testing

Open Bdegraaf1234 opened this issue 1 year ago • 2 comments

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

Bdegraaf1234 avatar Jun 10 '24 14:06 Bdegraaf1234

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

mpgxvii avatar Jun 10 '24 14:06 mpgxvii

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

Bdegraaf1234 avatar Jun 11 '24 15:06 Bdegraaf1234