Skip to content

Commit f567714

Browse files
committed
test(cli): cover the unified pool route in the headless parity sweep
CI shard 1/4 caught /api/pool/settings with no CLI resource row. The verbs exist and declare the route in src/cli/capabilities.ts; the sweep table simply had not been extended when the route landed.
1 parent fb3df8e commit f567714

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎tests/cli/cli-headless-parity.test.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,11 @@ describe("headless GUI parity CLI", () => {
250250
// skipping the endpoint.
251251
["/api/github/star", "(none — GUI-only)"],
252252
["/api/oauth", "ocx account"],
253+
// The unified pool-settings route (#695 wp5c). One path answers for every pool
254+
// kind, and `ocx account strategy` / `ocx account sticky` / `ocx account auto-switch`
255+
// are what drive it headlessly — they declare it in src/cli/capabilities.ts rather
256+
// than the retired per-namespace paths.
257+
["/api/pool/settings", "ocx account strategy/sticky/auto-switch"],
253258
["/api/accounts/events", "(none — dashboard invalidation; ocx account reads current selection)"],
254259
["/api/providers/keys", "ocx account"],
255260
["/api/providers", "ocx provider"],

0 commit comments

Comments
 (0)