Files
ai-job-search/.agents/skills/linkedin-search/cli/tests/fixtures
Rudy Mizrahi Celekli 2017521d2e test(portal-clis): isolate valid flag controls from live services (#581)
* test(portal-clis): isolate valid flag controls from live services

The LinkedIn and Freehire positive controls spawned live search CLIs and only checked for the absence of BAD_ARG, so attempted portal requests still left a green suite. Use loopback responses and assert successful output plus the constructed freshness, pagination and result-limit contract.

LinkedIn cards are verbatim excerpts from portapulito's actual captured response in PR #153; fixture provenance and original hashes are retained. Four Danish validation suites already stop at required-argument guards and need no change. This isolates these controls rather than claiming a whole-CI egress policy.

* docs(changelog): record fix for #581
2026-10-18 06:57:43 +02:00
..

LinkedIn detail fixture

detail-orbis-excerpt.html contains verbatim excerpts from the guest response for posting 4345841651, captured by portapulito through this CLI's htmlFetch on 2026-07-14 and published in upstream PR #153. That PR was closed because it was accidentally submitted to upstream instead of the author's personalized fork; it was not merged.

Source: .agents/skills/linkedin-search/cli/test/__fixtures__/detail-orbis.html at commit 5bc3afb94d19b670ecf09287c20d0c95e5d13ba0. Original SHA-256: 2125a346c22f471e3db08cd3890d0569b194703fe5f49b831cdde257e4aa4a59.

Only the title, closed banner, description markup and criteria list are retained. Their bytes are unmodified; recruiter cards, images, tracking links and unrelated page sections are omitted. The description includes real adjacent paragraphs, empty paragraphs and list items, rather than hand-written parser examples.

The CLI regression serves this saved response over loopback and redirects only the exact expected guest endpoint to it in a child process. It makes no LinkedIn requests and does not regenerate the fixture during tests.