From 66a13d174871d50b4a98907670a0b6306e1ddce1 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 25 Jul 2024 23:19:05 +0200 Subject: [PATCH] make tests green --- tests/library/client-certificates.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/library/client-certificates.spec.ts b/tests/library/client-certificates.spec.ts index 2c54820704..8fa48d3004 100644 --- a/tests/library/client-certificates.spec.ts +++ b/tests/library/client-certificates.spec.ts @@ -332,6 +332,8 @@ test.describe('browser', () => { test('should return target connection errors when using http2', async ({ browser, startCCServer, asset, browserName }) => { test.skip(browserName === 'webkit' && process.platform === 'darwin', 'WebKit on macOS doesn\n proxy localhost'); test.fixme(browserName === 'webkit' && process.platform === 'linux', 'WebKit on Linux does not support http2 https://bugs.webkit.org/show_bug.cgi?id=276990'); + test.skip(+process.versions.node.split('.')[0] < 20, 'http2.performServerHandshake is not supported in older Node.js versions'); + process.env.PWTEST_UNSUPPORTED_CUSTOM_CA = asset('empty.html'); const serverURL = await startCCServer({ http2: true }); const page = await browser.newPage({