From 61838f7c94adf65366eeb4713101921e33e69212 Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 7 Oct 2026 02:33:30 +0800 Subject: [PATCH] gui tests: codex-auto-reset clicks its account group's Show more, not the panel's Arrange, which 490d2ea3 made a .pq-more too (strict-mode violation on .pq-more since the panel's Allowances tab got Arrange at its foot) Passes in Chromium and WebKit. --- internal/gui/tests/codex-auto-reset.test.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/gui/tests/codex-auto-reset.test.cjs b/internal/gui/tests/codex-auto-reset.test.cjs index 078ff474..9bb68cc2 100644 --- a/internal/gui/tests/codex-auto-reset.test.cjs +++ b/internal/gui/tests/codex-auto-reset.test.cjs @@ -198,7 +198,8 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium", }); assert(fits, "the say fits the panel's card"); // the account holding none, shown: its say too - await panel.locator(".pq-more").click(); + // its group's Show more, not the tab's Arrange (490d2ea3), which is a .pq-more too + await panel.locator(".pq-group .pq-more").click(); const ptwo = '.pq-autoreset[data-user="two@example.com"]'; await panel.locator(ptwo).waitFor(); await flip(panel, ptwo + " .auto-reset", panelPosts, "two@example.com", true);