test(browser): the exit code a dead run and a violated one actually leave

Drives the built binary against a page with nothing to tap and reads the
process status, then the same run through campaign to pin what lands in
runs.jsonl: exit_code 1 there is a detection the analysis drops as missing
data.
This commit is contained in:
pj committed 2026-08-18 20:14:59 +05:30
1 parent f4b9ff1468
commit c8d52cb7d5
4 files changed
+208

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { always, extract, taps } from "@sanderling/spec";
const banner = extract((s) => s.ax.find({ id: "banner" })?.text ?? "").named("banner");
const bannerStays = always(() => banner.current === "nothing here answers a tap");
export const properties = { bannerStays };
export const actionsRoot = taps;