mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-15 15:13:48 -06:00
06b5f0b2ff
* test(qa): cover CLI onboarding and plugin sources * test(qa): assert npm file plugin source * test(qa): redact onboarding password assertion * test(qa): retain onboarding evidence log
40 lines
1.7 KiB
YAML
40 lines
1.7 KiB
YAML
title: CLI onboarding contracts
|
|
|
|
scenario:
|
|
id: cli-onboarding
|
|
surface: cli
|
|
category: cli.onboarding-and-auth-setup
|
|
coverage:
|
|
primary:
|
|
- cli.gateway-auth-storage
|
|
- cli.guided-onboarding
|
|
- cli.remote-onboarding
|
|
- cli.targeted-reconfiguration
|
|
objective: Verify guided and non-interactive CLI onboarding across Gateway storage, remote setup, reset, and section-scoped reconfiguration.
|
|
successCriteria:
|
|
- Guided onboarding runs under a real PTY, verifies the configured model, reaches completion, and performs no UI or terminal handoff.
|
|
- Gateway auth proves token SecretRef storage and password storage through executable non-interactive setup.
|
|
- Remote onboarding persists the requested remote URL and token, and reset removes stale remote configuration.
|
|
- Section-scoped skills configuration records configure metadata without selecting a Gateway run mode.
|
|
- The selected onboarding cases exclude channel setup.
|
|
- QA evidence records a separate executable assertion entry for every primary coverage boundary.
|
|
docsRefs:
|
|
- docs/cli/onboard.md
|
|
- docs/cli/configure.md
|
|
codeRefs:
|
|
- src/commands/onboard.ts
|
|
- src/commands/onboard-non-interactive.ts
|
|
- src/commands/onboard-non-interactive/remote.ts
|
|
- src/commands/onboard-non-interactive/local/auth-choice.ts
|
|
- src/commands/onboard-non-interactive/local/gateway-config.ts
|
|
- src/commands/configure.commands.ts
|
|
- scripts/e2e/lib/onboard/scenario.sh
|
|
execution:
|
|
kind: script
|
|
path: scripts/e2e/qa-cli-onboarding.mjs
|
|
summary: Runs the executable onboarding Docker lane with only the guided, Gateway-storage, remote, reset, and skills cases selected.
|
|
timeoutMs: 1800000
|
|
args:
|
|
- --artifact-base
|
|
- ${outputDir}
|