From 62e012b3e2cb2d443504dc6c6241fd3d4cfe4102 Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 14 Oct 2026 19:53:45 +0800 Subject: [PATCH] gui tests: Settings tabs are opened with Enter, not a click that waits on frames a loaded WebKit doesn't draw (#2150) Cause: quota-reads (webkit de 360) timed out on `:is(#setTab-usage, .nav-s[data-of=setTab-usage]):visible").click()`. Its call log ends at "waiting for element to be visible, enabled and stable", with no "element is not stable" retries, so the tab wasn't moving. Playwright's stability check compares the box over two requestAnimationFrame callbacks. WebKit's frames are driven by its UI process, and on a loaded machine they stall for seconds while the page's ordinary tasks run on, so the click sat out the whole 5s page timeout over a still tab. Reproduced by injecting a delay: SIGSTOP/SIGCONT duty-cycling of WebKit's UI process (10ms on / 990ms off) around the tab step in a copy of quota-reads. click() took 3-4s and timed out in 4 of 6 runs. press("Enter") on the same locator took 2-3s and passed 6 of 6. Fix: reader.cjs gets openPart(page, id), which presses Enter on the tab or its sidebar strip entry. Both are