fix(cli): honor check navigation timeout (#2860)

* fix(cli): honor check navigation timeout

* test(cli): clarify diagnostic timeout precedence
This commit is contained in:
Miguel Ángel
2026-07-29 20:50:20 +02:00
committed by GitHub
parent 6cfb05e38b
commit fdc5932897
9 changed files with 60 additions and 7 deletions
+2
View File
@@ -165,6 +165,7 @@ export async function runBrowserCheck(
try {
const launchSettleStart = Date.now();
const session = await openSettledCompositionPage(html, server.url, {
navigationTimeoutMs: options.timeout,
renderReadyTimeoutMs: options.timeout,
renderReadyWarningSuffix: "checking the current page state",
browserGpuMode: resolveCliChromeGpuMode(),
@@ -225,6 +226,7 @@ export async function captureFindingCrops(
const written: string[] = [];
try {
const session = await openSettledCompositionPage(html, server.url, {
navigationTimeoutMs: options.timeout,
renderReadyTimeoutMs: options.timeout,
renderReadyWarningSuffix: "capturing finding crops",
browserGpuMode: resolveCliChromeGpuMode(),