From 0ee9a8292647947912594705c5c6198b12f54064 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 23 Sep 2024 23:31:04 +0200 Subject: [PATCH] test: skip 'should work with error after successful open' on WebKit Windows (#32769) --- tests/library/route-web-socket.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/library/route-web-socket.spec.ts b/tests/library/route-web-socket.spec.ts index 207d581919..db509a69f2 100644 --- a/tests/library/route-web-socket.spec.ts +++ b/tests/library/route-web-socket.spec.ts @@ -144,9 +144,10 @@ for (const mock of ['no-mock', 'no-match', 'pass-through']) { ]); }); - test('should work with error after successful open', async ({ page, server, browserName, isLinux }) => { + test('should work with error after successful open', async ({ page, server, browserName, isLinux, isWindows }) => { test.skip(browserName === 'firefox', 'Firefox does not close the websocket upon a bad frame'); test.skip(browserName === 'webkit' && isLinux, 'WebKit linux does not close the websocket upon a bad frame'); + test.skip(browserName === 'webkit' && isWindows, 'WebKit Windows does not close the websocket upon a bad frame'); const upgradePromise = server.waitForUpgrade(); await setupWS(page, server.PORT, 'blob');