diff --git a/skills/testsprite-ci.skill.md b/skills/testsprite-ci.skill.md index 703018f3..60aadca6 100644 --- a/skills/testsprite-ci.skill.md +++ b/skills/testsprite-ci.skill.md @@ -171,8 +171,13 @@ deployments are filtered out by the `if:`). runs in a `github-pr-` clone of X at U. Outside a pull request they use the environment's own URL (`--env`'s, or the default's). A hard-coded URL is left as is and always tests that address. - Testing `ci run` locally: a shell that exports `TESTSPRITE_API_URL` or - `TESTSPRITE_API_KEY` overrides `--profile` — a `fetch failed` against a healthy API is - usually that. Check `env | grep TESTSPRITE_` first. + `TESTSPRITE_API_KEY` overrides the saved endpoint or key for the selected profile. + If the CLI reports `fetch failed` against a healthy API, check whether those + overrides are set without printing their values. + + ```bash + node -e 'for (const name of ["TESTSPRITE_API_URL","TESTSPRITE_API_KEY"]) console.log(name + ": " + (process.env[name]?.trim() ? "set" : "unset"))' + ``` ## Don'ts