valendres / playwright-msw

A Mock Service Worker API for Playwright
MIT License
168 stars 24 forks source link

playwright + msw not working as expected #72

Open maddhruv opened 1 year ago

maddhruv commented 1 year ago

In one of my repo I am using msw(Browser) with Playwright, msw works fine on my dev and test environment but I am not able to make it work in playwright environment, in one of my private repos the initial/default mocks work fine, but worker.use intercepts dont' work

Attaching a repo in which none (browser initial mocks as well as intercepts) aren't working, can you please have a look and help

Repo - https://github.com/maddhruv/playwright-msw-test