High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: pass CHROME_BINARY env var to test subprocess
Mario8e6d827e28a6
diff --git a/tests/integration/main_test.go b/tests/integration/main_test.goindex cb73289f..5e0209fe 100644--- a/tests/integration/main_test.go+++ b/tests/integration/main_test.go@@ -35,7 +35,7 @@ func TestMain(m *testing.M) {// Start servercmd := exec.Command("/tmp/pinchtab-test")- cmd.Env = append(os.Environ(),+ env := append(os.Environ(),"BRIDGE_PORT="+port,"BRIDGE_HEADLESS=true","BRIDGE_NO_RESTORE=true",@@ -43,6 +43,11 @@ func TestMain(m *testing.M) {fmt.Sprintf("BRIDGE_STATE_DIR=%s", mustTempDir()),fmt.Sprintf("BRIDGE_PROFILE=%s", mustTempDir()),)+ // Pass CHROME_BINARY if set by CI workflow or environment+ if chromeBinary := os.Getenv("CHROME_BINARY"); chromeBinary != "" {+ env = append(env, "CHROME_BINARY="+chromeBinary)+ }+ cmd.Env = envcmd.Stdout = os.Stdoutcmd.Stderr = os.Stderr