skillhub/cli/test/e2e/helpers
huishi3 2f54418600 test(cli): add Track B e2e tests against live backend
7 end-to-end tests that exercise the CLI against a real SkillHub backend,
auto-skipped when SKILLHUB_E2E_REGISTRY/SKILLHUB_E2E_TOKEN are not set:

- E1: publish → search (exact slug) → install → content match → remote remove
- E2: publish v1 → publish v2 → install latest gets v2 → --version pin gets v1
- E3: install nonexistent slug → non-zero exit
- E4: invalid token whoami → EXIT.auth
- E5: keyword substring search finds freshly-published skill
- E6: SKILL.md missing name field → server rejects
- E7: name exceeding length cap → server rejects

Includes shared helpers: live-registry env detection, unique slug generation,
polling with timeout, and skill fixture builder.
2026-05-07 06:53:01 -07:00
..
live-registry.ts test(cli): add Track B e2e tests against live backend 2026-05-07 06:53:01 -07:00
skill-fixtures.ts test(cli): add Track B e2e tests against live backend 2026-05-07 06:53:01 -07:00