test: skip 'should work with error after successful open' on WebKit Windows (#32769)

This commit is contained in:
Max Schmitt 2024-09-23 23:31:04 +02:00 committed by GitHub
parent c9a26e60f5
commit 0ee9a82926
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');