diff options
| author | Adam <[email protected]> | 2026-01-21 06:08:42 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-21 06:10:01 -0600 |
| commit | e237f06c96ec1b8076756a47ee1761bb853b5954 (patch) | |
| tree | 4a4f41e6ab1299c8c22407c0ae3c0f97f7b5d490 /packages | |
| parent | bb710e9ea151c94e68391a22c8199da8a8223342 (diff) | |
| download | opencode-e237f06c96ec1b8076756a47ee1761bb853b5954.tar.gz opencode-e237f06c96ec1b8076756a47ee1761bb853b5954.zip | |
test(app): fix e2e
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/app/script/e2e-local.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/app/script/e2e-local.ts b/packages/app/script/e2e-local.ts index dd0e9a52e..d764a401f 100644 --- a/packages/app/script/e2e-local.ts +++ b/packages/app/script/e2e-local.ts @@ -73,9 +73,9 @@ const serverEnv = { const runnerEnv = { ...process.env, - PLAYWRIGHT_SERVER_HOST: "localhost", + PLAYWRIGHT_SERVER_HOST: "127.0.0.1", PLAYWRIGHT_SERVER_PORT: String(serverPort), - VITE_OPENCODE_SERVER_HOST: "localhost", + VITE_OPENCODE_SERVER_HOST: "127.0.0.1", VITE_OPENCODE_SERVER_PORT: String(serverPort), PLAYWRIGHT_PORT: String(webPort), } satisfies Record<string, string> @@ -115,7 +115,7 @@ const server = Bun.spawn( ) try { - await waitForHealth(`http://localhost:${serverPort}/global/health`) + await waitForHealth(`http://127.0.0.1:${serverPort}/global/health`) const runner = Bun.spawn(["bun", "test:e2e", ...extraArgs], { cwd: appDir, |
