Under load in WebKit Playwright's scroll into view left Done under #ptabs
("nav#ptabs intercepts pointer events") and the click timed out at :147
(25 of 28 parallel runs). After this, 28 parallel WebKit runs: 0 at :147.
panel-arrange's last part calls panelQuotaFocus("deepseek") and waited for
the card to have the `flash` class. The test emulates reduced motion, and
app.css's reduced-motion rule makes every animation .01ms long, so the
flash's animationend comes within the same frame: logged, the class was on
for one frame (animationend at elapsedTime 0.00001) in every run, passing
or failing. A rAF poll sees it only if it lands in that frame; under load
it often didn't (4 of 12 parallel runs red on origin/main, all at :156).
The app is right: the card is drawn, scrolled to and flashed. The test now
records each card given the class through a MutationObserver installed
before the call, and waits for "deepseek" to be among them.
Run (Chromium and WebKit, en/zh/ja/de):
- 12 parallel copies on origin/main f00ed290: 4/12 red at :156 ("waitForFunction:
Timeout 5000ms"). With the fix: 12/12 green at load ~110.
- With flashCard's classList.add("flash") commented out the new check
fails (chromium en), so it still catches a card not flashed.