Skip to content

Commit bcb5e67

Browse files
authored
test: skip newly added client-cert test on service mode (microsoft#36831)
1 parent b16ff91 commit bcb5e67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/library/client-certificates.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@ test.describe('browser', () => {
371371
await page.close();
372372
});
373373

374-
test('should pass with matching certificates and when a http proxy is used from env', async ({ browser, startCCServer, asset, browserName, proxyServer, isMac }) => {
374+
test('should pass with matching certificates and when a http proxy is used from env', async ({ mode, browser, startCCServer, asset, browserName, proxyServer, isMac }) => {
375+
test.skip(mode !== 'default', 'Out of process transport does not allow us to set env vars dynamically');
375376
process.env.HTTPS_PROXY = `http://localhost:${proxyServer.PORT}`;
376377
const serverURL = await startCCServer({ useFakeLocalhost: browserName === 'webkit' && isMac });
377378
proxyServer.forwardTo(parseInt(new URL(serverURL).port, 10), { allowConnectRequests: true });

0 commit comments

Comments
 (0)