Files
magpie/internal
yetone dbdc6b87bb gui tests: plugin-page waits for the glance's text instead of throwing before it is drawn (#4180)
In Chromium, frameReady can hand back the glance frame before its #cost
element exists. getElementById("cost").textContent then throws inside
waitForFunction, and Playwright fails on a predicate's throw instead of
polling it again. It was red about 4 runs in 5 on the Windows box, on
origin/main f463a8aaf too. The four predicates that read an element's
text (the cost, and the nav label in ja and en) now read it with ?., so
a missing element is "not yet".

Run: win-run BROWSER=chromium node --test plugin-page.test.cjs, 5 of 5
green (3/3 each). Before: 1 of 5.

Fixes #4180
2026-10-29 14:28:24 +08:00
..
…
…
…
…
…
…