test: isolate browser timeout inputs from built viewer output

Merged
LO
1mo ago
+13-5

test: isolate browser timeout inputs from built viewer output

The three accepted --close-timeout-ms tests assumed the default viewer dist directory was absent. A preceding root build creates it, so the CLI reaches the missing-fixtures error and those tests fail for the wrong precondition. Each test now passes its own missing --dist-branch path and removes its temporary directory in finally. The CLI and existing timeout assertions are unchanged.

Validation: with the default dist present the original tests give 14 passes and the three wrong-precondition failures; the fixed file passes all 17. Independent Astra source review approved this exact change (patch-id identical at 66e785eb48 and the reviewed integration 3acdf2bbba). Hosted CI: 41 pass, 0 fail. The same three failures appeared in every F3b qualification run after a package build (W1 #8127, R2a #7896, hash dispatch #8119, #8045), which this fixes.