fix(e2e): respect PLAYWRIGHT_BASE_URL env var and add host.docker.internal resolution #430

Merged
The Dogfather merged 1 commits from flea/gro-1496-e2e-err-connection-refused into dev 2026-05-21 21:04:05 +00:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export default defineConfig({
reporter: process.env.CI ? "github" : "list",
use: {
baseURL: "http://localhost:8080",
baseURL: process.env.PLAYWRIGHT_BASE_URL ?? "http://localhost:8080",
trace: "on-first-retry",
screenshot: "only-on-failure",
serviceWorkers: "block",
+2
View File
@@ -50,6 +50,8 @@ services:
dockerfile: apps/web/Dockerfile
ports:
- "8080:80"
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- api