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,