Skip to content

Commit e1c861c

Browse files
committed
cherry-pick(#32021): test: fix failing client-certificate tests
1 parent 20b0788 commit e1c861c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/library/client-certificates.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ test.describe('fetch', () => {
188188
});
189189

190190
test('should throw a http error if the pfx passphrase is incorect', async ({ playwright, startCCServer, asset, browserName }) => {
191-
const serverURL = await startCCServer({ useFakeLocalhost: browserName === 'webkit' && process.platform === 'darwin' });
191+
const serverURL = await startCCServer();
192192
const request = await playwright.request.newContext({
193193
ignoreHTTPSErrors: true,
194194
clientCertificates: [{
@@ -202,7 +202,7 @@ test.describe('fetch', () => {
202202
});
203203

204204
test('should fail with matching certificates in legacy pfx format', async ({ playwright, startCCServer, asset, browserName }) => {
205-
const serverURL = await startCCServer({ useFakeLocalhost: browserName === 'webkit' && process.platform === 'darwin' });
205+
const serverURL = await startCCServer();
206206
const request = await playwright.request.newContext({
207207
ignoreHTTPSErrors: true,
208208
clientCertificates: [{

0 commit comments

Comments
 (0)