From e1c861cfa7a6caf3c5b798786b1e6298c4f3cf31 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 16 Aug 2024 21:45:12 +0200 Subject: [PATCH] cherry-pick(#32021): test: fix failing client-certificate tests --- tests/library/client-certificates.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/library/client-certificates.spec.ts b/tests/library/client-certificates.spec.ts index 55a5992e3fd78..11508e10818d6 100644 --- a/tests/library/client-certificates.spec.ts +++ b/tests/library/client-certificates.spec.ts @@ -188,7 +188,7 @@ test.describe('fetch', () => { }); test('should throw a http error if the pfx passphrase is incorect', async ({ playwright, startCCServer, asset, browserName }) => { - const serverURL = await startCCServer({ useFakeLocalhost: browserName === 'webkit' && process.platform === 'darwin' }); + const serverURL = await startCCServer(); const request = await playwright.request.newContext({ ignoreHTTPSErrors: true, clientCertificates: [{ @@ -202,7 +202,7 @@ test.describe('fetch', () => { }); test('should fail with matching certificates in legacy pfx format', async ({ playwright, startCCServer, asset, browserName }) => { - const serverURL = await startCCServer({ useFakeLocalhost: browserName === 'webkit' && process.platform === 'darwin' }); + const serverURL = await startCCServer(); const request = await playwright.request.newContext({ ignoreHTTPSErrors: true, clientCertificates: [{