Skip to content

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

test: enable link preload interception test (#16935)

Yury Semikhatsky990167124f0f
diff --git a/tests/page/page-request-continue.spec.ts b/tests/page/page-request-continue.spec.ts
index 6befd3986c..4f543e2160 100644
--- a/tests/page/page-request-continue.spec.ts
+++ b/tests/page/page-request-continue.spec.ts
@@ -352,7 +352,6 @@ it('should delete the origin header', async ({ page, server, isAndroid, browserN
it('should continue preload link requests', async ({ page, server, browserName }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/16745' });
- it.fixme(browserName === 'webkit', 'Preload requests are aborted in WebKit when interception is enabled');
let intercepted = false;
await page.route('**/one-style.css', route => {
intercepted = true;
diff --git a/tests/page/page-request-fulfill.spec.ts b/tests/page/page-request-fulfill.spec.ts
index 1c594fac29..227de84c61 100644
--- a/tests/page/page-request-fulfill.spec.ts
+++ b/tests/page/page-request-fulfill.spec.ts
@@ -356,7 +356,6 @@ function findResponse(har: har.HARFile, url: string): har.Response {
it('should fulfill preload link requests', async ({ page, server, browserName }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/16745' });
- it.fixme(browserName === 'webkit', 'Preload requests are aborted in WebKit when interception is enabled');
let intercepted = false;
await page.route('**/one-style.css', route => {
intercepted = true;