Page tests: serve on 127.0.0.1, where localhost resolves to ::1 only
This commit is contained in:
@@ -15,7 +15,9 @@ export default defineConfig({
|
|||||||
actionTimeout: 60_000, // a stuck step fails, not the whole run
|
actionTimeout: 60_000, // a stuck step fails, not the whole run
|
||||||
},
|
},
|
||||||
webServer: {
|
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',
|
url: 'http://127.0.0.1:4310',
|
||||||
timeout: 180_000,
|
timeout: 180_000,
|
||||||
reuseExistingServer: false,
|
reuseExistingServer: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user