Skip to content

Commit

Permalink
cherry-pick(#32021): test: fix failing client-certificate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Aug 16, 2024
1 parent 20b0788 commit e1c861c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/library/client-certificates.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [{
Expand All @@ -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: [{
Expand Down

0 comments on commit e1c861c

Please sign in to comment.