diff --git a/tests/library/client-certificates.spec.ts b/tests/library/client-certificates.spec.ts index bcf7234f7c..53b918dc0f 100644 --- a/tests/library/client-certificates.spec.ts +++ b/tests/library/client-certificates.spec.ts @@ -187,7 +187,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: [{ @@ -201,7 +201,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: [{