fix: trust dashboard contract after navigation timeout
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user