test: add workbench dom-only live validation

This commit is contained in:
Code Queue Review
2026-05-23 03:21:34 +00:00
parent 33e4eeb7d0
commit 7018efc9d4
6 changed files with 531 additions and 24 deletions
@@ -147,6 +147,13 @@ test("workbench smoke CLI allows live evidence to write the live report", () =>
assert.equal(smokeCliExitCode(report, decision), 0);
});
test("smoke args include a DOM-only live read-only mode", () => {
assert.deepEqual(parseSmokeArgs(["--dom-only", "--url", "http://74.48.78.17:16666/"]), {
mode: "dom-only",
url: "http://74.48.78.17:16666/"
});
});
test("live workbench identity passes only when runtime commit or image tag matches current source", () => {
assert.equal(
classifyLiveDeploymentIdentity(sourceIdentity, {