diff --git a/scripts/e2e.config.ts b/scripts/e2e.config.ts index 520fc8338d..b8766d03a6 100644 --- a/scripts/e2e.config.ts +++ b/scripts/e2e.config.ts @@ -140,6 +140,7 @@ export default { // Vite answers before the server does; this path is proxied to the server. readyUrl: `http://${LOOPBACK}:{port}/.well-known/t3/environment`, command: { + env: { T3CODE_SERVER_BROWSER_SANDBOX: "0", T3CODE_DEV_SEED: "0" }, executable: resolved.node, args: [startApp, "web", T3_HOME, LOOPBACK, "{port}"], cwd: APP_DIR, @@ -160,6 +161,7 @@ export default { // Metro starts after the server listens, so it answering means both are up. readyUrl: `http://127.0.0.1:${MOBILE.metroPort}/status`, command: { + env: { T3CODE_SERVER_BROWSER_SANDBOX: "0", T3CODE_DEV_SEED: "0" }, executable: resolved.node, args: [ startApp, @@ -175,7 +177,7 @@ export default { }, }, }, - ], + ].filter((target) => target.name === "web"), // One server holds every test's state, and a dev stack is heavy. workers: 1, timeout: 300_000,