From a125d5c9ea82cce352198441753de508a0877905 Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 14 Oct 2026 09:25:02 +0800 Subject: [PATCH] gui tests: group-fold's window is 1700 tall, for the editor's Custom wait that 195a1009b added 195a1009b put Custom (minutes of your own) beside Wait, 30 s, 1 min and 2 min in a routing group's Slow to start, which made the editor 8px taller. At 1600 the editor's Cancel sat half under the window's footer, and WebKit en clicked the footer (Chromium's text metrics kept the centre just above it). Red in WebKit on origin/main 2eee900dc, 2 of 2 runs; at 1700 WebKit and Chromium pass, en and zh. --- internal/gui/tests/group-fold.test.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gui/tests/group-fold.test.cjs b/internal/gui/tests/group-fold.test.cjs index 903538e7b..608936d93 100644 --- a/internal/gui/tests/group-fold.test.cjs +++ b/internal/gui/tests/group-fold.test.cjs @@ -66,7 +66,7 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium", // tall enough for the whole editor, its Cancel clicked where it is // (under the names setting over the groups) // the window wider by the sidebar beside the page: the editor's foot in sight - const page = await (await browser.newContext({ viewport: { width: 1360, height: 1600 }, reducedMotion: "reduce" })).newPage(); + const page = await (await browser.newContext({ viewport: { width: 1360, height: 1700 }, reducedMotion: "reduce" })).newPage(); t.after(() => browser.close()); page.setDefaultTimeout(5000); const errors = [], posts = [];