Skip to content

Commit

Permalink
tests: windows did something mac couldn't do!
Browse files Browse the repository at this point in the history
  • Loading branch information
rwoll committed Dec 8, 2021
1 parent b755031 commit 2f8aeb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/browsercontext-proxy.spec.ts
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy.spec.ts
Expand Up @@ -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) => {
Expand Down

0 comments on commit 2f8aeb0

Please sign in to comment.