Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: Remove "request interception" from oopif tests (#3671)

Darío Kondratiuk90408aa4f4ee
diff --git a/test/chromium/oopif.spec.ts b/test/chromium/oopif.spec.ts
index 3f72c99f0f..ecd345e7eb 100644
--- a/test/chromium/oopif.spec.ts
+++ b/test/chromium/oopif.spec.ts
@@ -158,7 +158,7 @@ it.skip(!options.CHROMIUM)('should take screenshot', async ({browser, page, serv
expect(await page.screenshot()).toMatchImage(golden('screenshot-oopif.png'), { threshold: 0.3 });
});
-it.skip(!options.CHROMIUM)('should load oopif iframes with subresources and request interception', async function({browser, page, server, context}) {
+it.skip(!options.CHROMIUM)('should load oopif iframes with subresources and route', async function({browser, page, server, context}) {
await page.route('**/*', route => route.continue());
await page.goto(server.PREFIX + '/dynamic-oopif.html');
expect(await countOOPIFs(browser)).toBe(1);