From 9fc0666d6637b67698f639e1a0572b9b5eb0d6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Trevi=C3=B1o?= Date: Wed, 25 Nov 2026 11:06:53 -0600 Subject: [PATCH] Page tests: serve on 127.0.0.1, where localhost resolves to ::1 only --- playwright.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 18ca08f..034158b 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -15,7 +15,9 @@ export default defineConfig({ actionTimeout: 60_000, // a stuck step fails, not the whole run }, webServer: { - command: 'npx ng serve --port 4310 --proxy-config proxy.e2e.mjs', + // IPv4 explicitly: `localhost` may resolve to ::1 only (CI containers), where the url below never answers. + command: 'npx ng serve --host 127.0.0.1 --port 4310 --proxy-config proxy.e2e.mjs', + env: { NG_CLI_ANALYTICS: 'false' }, url: 'http://127.0.0.1:4310', timeout: 180_000, reuseExistingServer: false,