test: align Docker skip onboarding assertions

This commit is contained in:
sallyom
2026-04-28 18:28:07 -04:00
parent 1a826a15be
commit 2744ed8b53

View File

@@ -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");
});