From 0b7f2229b52b02dd34b0f5e84819ef76e352171d Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Mon, 30 Nov 2026 22:29:05 -0500 Subject: [PATCH] test(cli): select export-web-scripts' capture file in the contract parity check (#15418) Since #15385 export_web_scripts takes exactly one of capture_path or capture, so neither is required alone and the parity check's argv builder supplied no capture source; the contract refused the input. The check now selects the positional capture file. --- tests/boundary/cli/cliContractCommandParity.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/boundary/cli/cliContractCommandParity.test.ts b/tests/boundary/cli/cliContractCommandParity.test.ts index 1a558fddb9e..944d5d95c60 100644 --- a/tests/boundary/cli/cliContractCommandParity.test.ts +++ b/tests/boundary/cli/cliContractCommandParity.test.ts @@ -402,6 +402,9 @@ const ARGV_SATISFYING_RULES: Readonly< beforeJson: JSON.stringify(screenshotExample.before), afterJson: JSON.stringify(screenshotExample.after), }, + // The export takes exactly one capture source, a file or capture Evidence, + // so neither is required alone; select the positional file. + "export-web-scripts": { capturePath: "rel/target" }, // Each side must be process capture Evidence. "compare-process-captures": { left: JSON.stringify(processComparisonExample.left),