Playwright can mock browser requests, but not the fetches your Next.js server makes during SSR. Here is how I record real API responses once and replay them deterministically on CI, with the backend turned off.
Tag
VCR
1 post tagged “VCR”.
Tag
1 post tagged “VCR”.
Playwright can mock browser requests, but not the fetches your Next.js server makes during SSR. Here is how I record real API responses once and replay them deterministically on CI, with the backend turned off.