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
+2
View File
@@ -243,6 +243,8 @@ send_skills_flow() {
}
send_guided_skip_ui_flow() {
wait_for_log "Help make OpenClaw better?" 120 || return $?
send $'\r' 0.8
wait_for_log "What should we call your first agent?" 120 || return $?
send $'\r' 0.8
wait_for_log "How should I set things up?" 120 || return $?
@@ -105,6 +105,8 @@ exec 3>"$input_fifo"
wait_for_log "Continue?" 60
send $'y\r' 0.4
wait_for_log "Help make OpenClaw better?" 60
send $'\r' 0.4
wait_for_log "What should we call your first agent?" 60
send $'\r' 0.4
wait_for_log "to search" 60
+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?"',