test(onboard): handle telemetry consent prompt (#128943)

This commit is contained in:
Josh Lehman
2026-08-25 02:06:02 -07:00
committed by GitHub
parent 52cb40261d
commit 06e0f385f7
3 changed files with 9 additions and 1 deletions
+5 -1
View File
@@ -2733,16 +2733,20 @@ docker_e2e_docker_run_cmd run demo
expect(script).not.toContain("/tmp/openclaw-channel-add.log");
});
it("keeps real-TTY onboarding drivers aligned with the first-agent prompt", () => {
it("keeps real-TTY onboarding drivers aligned with the guided prompt sequence", () => {
expectOrderedScriptFragments(readFileSync(RELEASE_TYPED_ONBOARDING_SCENARIO_PATH, "utf8"), [
'wait_for_log "Continue?"',
"send $'y\\r'",
'wait_for_log "Help make OpenClaw better?"',
"send $'\\r'",
'wait_for_log "What should we call your first agent?"',
"send $'\\r'",
'wait_for_log "to search"',
"send $'ollama\\r'",
]);
expectOrderedScriptFragments(readFileSync(ONBOARD_SCENARIO_PATH, "utf8"), [
'wait_for_log "Help make OpenClaw better?"',
"send $'\\r'",
'wait_for_log "What should we call your first agent?"',
"send $'\\r'",
'wait_for_log "How should I set things up?"',