Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions skills/testsprite-ci.skill.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,13 @@ deployments are filtered out by the `if:`).
runs in a `github-pr-<N>` 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

Expand Down
Loading