diff --git a/tests/kicad/drift-trio-scenarios.spec.ts b/tests/kicad/drift-trio-scenarios.spec.ts index c610429..35e8e22 100644 --- a/tests/kicad/drift-trio-scenarios.spec.ts +++ b/tests/kicad/drift-trio-scenarios.spec.ts @@ -53,7 +53,7 @@ function skipFirefox(): void { } /** Poll until every tab's silent save contains `marker`. */ -async function waitAllContain(set: TabSet, cfg: ToolCfg, marker: string, timeout = 30000): Promise { +async function waitAllContain(set: TabSet, cfg: ToolCfg, marker: string, timeout = 90000): Promise { for (const [label, page] of set.tabs) { await expect .poll(async () => (await modelText(page, cfg)).includes(marker), { @@ -219,7 +219,7 @@ for (const ops of [SCH_OPS, PCB_OPS]) { for (const [tabLabel, p] of trio.tabs) { await expect .poll(async () => /s4-from-[AB]/.test(await modelText(p, cfg)), { - timeout: 20000, + timeout: 60000, intervals: [400], message: `${tabLabel} must receive one of the racing values`, }) @@ -273,7 +273,7 @@ for (const ops of [SCH_OPS, PCB_OPS]) { for (const [tabLabel, p] of trio.tabs) { await expect .poll(async () => (await modelText(p, cfg)).includes("s5-tmp"), { - timeout: 20000, + timeout: 60000, intervals: [400], message: `${tabLabel} must lose the undone value`, }) diff --git a/tests/kicad/utils/trio.ts b/tests/kicad/utils/trio.ts index 11827b7..8288c3b 100644 --- a/tests/kicad/utils/trio.ts +++ b/tests/kicad/utils/trio.ts @@ -419,7 +419,7 @@ function firstDiff(a: string, b: string): string { * Poll until every tab's silent save is byte-identical. The convergence gate * between scenario steps — bounded poll, no blind sleeps (tests/TESTING.md). */ -export async function settleConverged(trio: TabSet, cfg: ToolCfg, timeout = 30000): Promise { +export async function settleConverged(trio: TabSet, cfg: ToolCfg, timeout = 90000): Promise { await expect .poll( async () => {