Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: skip 'should work with ip6 and port as the host' inside Docker (#21981)

Max Schmitta64cdf87eebf
diff --git a/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts b/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts
index a7e66e5cc7..c3f77b8cc2 100644
--- a/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts
+++ b/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts
@@ -62,6 +62,7 @@ it('https post should work with ignoreHTTPSErrors option', async ({ context, htt
it('should work with ip6 and port as the host', async ({ request, server }) => {
+ it.skip(!!process.env.INSIDE_DOCKER, 'docker does not support IPv6 by default');
const response = await request.get(`http://[::1]:${server.PORT}/simple.json`);
expect(response.url()).toBe(`http://[::1]:${server.PORT}/simple.json`);
expect(response).toBeOK();