test(docker): skip bootstrap ritual in install smoke

This commit is contained in:
Peter Steinberger
2026-04-27 03:41:39 +01:00
parent ef31a333f7
commit 6d0e84aadb
2 changed files with 19 additions and 0 deletions

View File

@@ -68,4 +68,13 @@ describe("docker build helper", () => {
'OPENCLAW_VERSION="$INSTALL_TAG" curl -fsSL "$INSTALL_URL" | bash',
);
});
it("keeps installer E2E agent turns out of the interactive bootstrap ritual", () => {
const runner = readFileSync(INSTALL_E2E_RUNNER_PATH, "utf8");
expect(runner).toContain('rm -f "$workspace/BOOTSTRAP.md"');
expect(runner.indexOf('rm -f "$workspace/BOOTSTRAP.md"')).toBeLessThan(
runner.indexOf('echo "==> Agent turns ($profile)"'),
);
});
});