diff --git a/docs/help/testing.md b/docs/help/testing.md index 98550483363..da9ace5cab7 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -418,9 +418,10 @@ Live tests discover credentials the same way the CLI does. Practical implication - If the CLI works, live tests should find the same keys. - If a live test says “no creds”, debug the same way you’d debug `openclaw models list` / model selection. -- Profile store: `~/.openclaw/credentials/` (preferred; what “profile keys” means in the tests) +- Per-agent auth profiles: `~/.openclaw/agents//agent/auth-profiles.json` (this is what “profile keys” means in the live tests) - Config: `~/.openclaw/openclaw.json` (or `OPENCLAW_CONFIG_PATH`) -- Live local runs copy the active config plus auth stores into a temp test home by default; `agents.*.workspace` / `agentDir` path overrides are stripped in that staged copy so probes stay off your real host workspace. +- Legacy state dir: `~/.openclaw/credentials/` (copied into the staged live home when present, but not the main profile-key store) +- Live local runs copy the active config, per-agent `auth-profiles.json` files, legacy `credentials/`, and supported external CLI auth dirs into a temp test home by default; `agents.*.workspace` / `agentDir` path overrides are stripped in that staged config so probes stay off your real host workspace. If you want to rely on env keys (e.g. exported in your `~/.profile`), run local tests after `source ~/.profile`, or use the Docker runners below (they can mount `~/.profile` into the container).