fix: trust dashboard contract after navigation timeout

This commit is contained in:
Codex
2026-07-01 03:04:29 +00:00
parent a2ed11575d
commit 404c6e102e
+2 -1
View File
@@ -839,7 +839,8 @@ const dom = await page.evaluate(async ({ expectedRoutePrefix, expectedSentinelId
}, { expectedRoutePrefix, expectedSentinelId, requestedRunId, requestedRunSelection });
const consoleErrors = consoleMessages.filter((item) => item.type === "error");
const ok = !navigationError
const navigationOk = !navigationError || (dom.shell === true && dom.ready === true);
const ok = navigationOk
&& httpStatus !== null
&& httpStatus >= 200
&& httpStatus < 300