From 2744ed8b53a12c84ee4e90661e0bc00eaca20622 Mon Sep 17 00:00:00 2001 From: sallyom Date: Tue, 28 Apr 2026 18:28:07 -0400 Subject: [PATCH] test: align Docker skip onboarding assertions --- src/docker-setup.e2e.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/docker-setup.e2e.test.ts b/src/docker-setup.e2e.test.ts index 1c81eabac52..ef3d54747be 100644 --- a/src/docker-setup.e2e.test.ts +++ b/src/docker-setup.e2e.test.ts @@ -532,8 +532,9 @@ describe("scripts/docker/setup.sh", () => { const log = await readDockerLog(activeSandbox); expect(log).not.toContain("onboard"); // Gateway defaults (config set) and control UI allowlist should still run. - expect(log).toContain("config set gateway.mode local"); - expect(log).toContain("config set gateway.bind lan"); + expect(log).toContain("config set --batch-json"); + expect(log).toContain('"path":"gateway.mode","value":"local"'); + expect(log).toContain('"path":"gateway.bind","value":"lan"'); const envFile = await readFile(join(activeSandbox.rootDir, ".env"), "utf8"); expect(envFile).toContain("OPENCLAW_SKIP_ONBOARDING=1"); });