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.
This commit is contained in:
yetone committed 2026-10-07 05:10:01 +08:00
1 parent 134d388ba0
commit 61838f7c94
1 file changed
+2 -1
+2 -1
View File
@@ -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);