opendatahub-io / odh-dashboard

Dashboard for ODH
Apache License 2.0
28 stars 166 forks source link

[Feature Request]: Add MSW to e2e testing #1569

Closed Gkrumbach07 closed 1 year ago

Gkrumbach07 commented 1 year ago

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/

manaswinidas commented 1 year ago

No longer needed