From 2f8aeb0ae2a3db36a69bcfc2d67865c96c479e8f Mon Sep 17 00:00:00 2001 From: "Ross A. Wollman" Date: Tue, 7 Dec 2021 22:42:31 -0800 Subject: [PATCH] tests: windows did something mac couldn't do! --- tests/browsercontext-proxy.spec.ts | 2 +- tests/proxy.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/browsercontext-proxy.spec.ts b/tests/browsercontext-proxy.spec.ts index 97ce5054c7d7a..3c7c730ed15df 100644 --- a/tests/browsercontext-proxy.spec.ts +++ b/tests/browsercontext-proxy.spec.ts @@ -109,7 +109,7 @@ it.describe('should proxy local network requests', () => { } ]) { it(`${params.description}`, async ({ platform, browserName, contextFactory, server, proxyServer }) => { - it.fail(platform !== 'linux' && browserName === 'webkit' && additionalBypass && ['localhost', '127.0.0.1'].includes(params.target), 'WK fails to proxy 127.0.0.1 and localhost if additional bypasses are present'); + it.fail(browserName === 'webkit' && platform === 'darwin' && additionalBypass && ['localhost', '127.0.0.1'].includes(params.target), 'WK fails to proxy 127.0.0.1 and localhost if additional bypasses are present'); const path = `/target-${additionalBypass}-${params.target}.html`; server.setRoute(path, async (req, res) => { diff --git a/tests/proxy.spec.ts b/tests/proxy.spec.ts index 00443418bf358..e3a0d04611a21 100644 --- a/tests/proxy.spec.ts +++ b/tests/proxy.spec.ts @@ -91,7 +91,7 @@ it.describe('should proxy local network requests', () => { } ]) { it(`${params.description}`, async ({ platform, browserName, browserType, server, proxyServer }) => { - it.fail(platform !== 'linux' && browserName === 'webkit' && additionalBypass && ['localhost', '127.0.0.1'].includes(params.target), 'WK fails to proxy 127.0.0.1 and localhost if additional bypasses are present'); + it.fail(browserName === 'webkit' && platform === 'darwin' && additionalBypass && ['localhost', '127.0.0.1'].includes(params.target), 'WK fails to proxy 127.0.0.1 and localhost if additional bypasses are present'); const path = `/target-${additionalBypass}-${params.target}.html`; server.setRoute(path, async (req, res) => {