cypress-msw-interceptor
cypress-msw-interceptor copied to clipboard
A networking layer for Cypress using MSW
I just did this very quickly for @jameskraus so he could see what i did for myself... I had other changes as well and so just quickly tried to extract...
Fixes #20
Hi, Could you adding typings to this library? I've setup the following myself ``` declare global { // eslint-disable-next-line @typescript-eslint/no-namespace namespace Cypress { interface Chainable { waitForRequest(alias: string): Chainable; waitForQuery(alias:...
Hi, Would you be open to adding the capability of setting up existing msw handlers that have been setup outside of cypress? I've patch packaged in internally to do what...
Just FYI I needed to do the following instead of what the documentation says ``` import { setMswWorkerOptions} from 'cypress-msw-interceptor/src/support'; ``` vs ``` import { setMswWorkerOptions}, 'cypress-msw-interceptor; ```
This PR would allow important msw config params to be passed in. Right now it is done in a way that constitutes a major breaking change. related to #16
Would like to override some of the normal mocks during cypress testing, so installed your plugin. But the interceptRequest doesn't seem to take place and instead I get the default...
Hi, Thanks for this project. I am exploring and trying to make Cypress work together with this plugin for MSW: https://github.com/Tapico/tapico-msw-webarchive It works when MSW starts when the app is...