From 7d15df78a25a6bb45ab5b2788638bbd6168b65c6 Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 14 Oct 2026 08:32:05 +0800 Subject: [PATCH] =?UTF-8?q?gui=20tests:=20signin-proxy=20brings=20Custom?= =?UTF-8?q?=E2=80=A6=20into=20sight=20before=20its=20second=20click,=20whi?= =?UTF-8?q?ch=20the=20sign-in=20drawn=20again=20put=20under=20the=20editor?= =?UTF-8?q?'s=20bar=20at=20380=20in=20German?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test's second click on "Custom…" failed now and then in German at 380 (also on origin/main 56fcd1dc2): the sign-in started again draws its link anew at the editor's foot, partly under its bar, and the click landed on the bar. It now scrolls the row into view first, as the first click does. Run: signin-proxy.test.cjs in Chromium and WebKit, every width and language: 40/40; the German 380 case alone 8/8 after (it failed before in the full sign-in run). Not tried: the app's look at 380 by hand. --- internal/gui/tests/signin-proxy.test.cjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/gui/tests/signin-proxy.test.cjs b/internal/gui/tests/signin-proxy.test.cjs index 20a6e3199..675b5a76b 100644 --- a/internal/gui/tests/signin-proxy.test.cjs +++ b/internal/gui/tests/signin-proxy.test.cjs @@ -139,7 +139,10 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium", assert.deepEqual(seen.canceled, ["s1"]); assert.equal((await via.textContent()).trim(), w.via.replace("{p}", SHOWN)); - // Custom…: its address asked in place, then signed in through + // Custom…: its address asked in place, then signed in through. The + // sign-in started again drew the link anew at the editor's foot, + // partly under its bar at 380: in sight first, as above + await via.scrollIntoViewIfNeeded(); await via.click(); await menu.locator(".pm-item", { hasText: w.custom }).click(); const form = box.locator("form.proxy-ask");