In e2e testing, we are testing against a working cluster and odh deployment. This however limits us in testing error flows in e2e tests. We should use mock service worker to our e2e testing env so that we can optionally add k8s api mocks to our flows.
Feature description
In e2e testing, we are testing against a working cluster and odh deployment. This however limits us in testing error flows in e2e tests. We should use mock service worker to our e2e testing env so that we can optionally add k8s api mocks to our flows.
Describe alternatives you've considered
Dont e2e test error flows
Anything else?
https://mswjs.io/