mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
test(onboard): handle telemetry consent prompt (#128943)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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?"',
|
||||
|
||||
Reference in New Issue
Block a user