Files
magpie/internal
yetone 62c8d21ee5 gui tests: account-arrange acts once the allowances are drawn (#4468)
account-arrange's "account dragging uses the routing order in every mode"
was red alone in WebKit at 31728e29a: line 169's first Antigravity row
had no box. The app is right and the test was wrong. A signed-in
provider's editor is drawn at once and drawn again when its accounts'
allowances come in (loginUsageOf: "loads on its own and fills the rows
in when it's there"), and that redraw replaces every row. The test took
a row from the first draw; when /api/login/usage answered after it (a
busy machine, WebKit), the row it held was gone.

open() and the reload now wait for drawn(page): the first row (with a
load's minute, #4470), then the editing provider's allowance answer in
and not loading, so every action works on the rows that stay. The README
paragraph says so.

What was run (WSL magpie-desktop, Playwright 1.62.0):
- By hand: /api/login/usage answered 1.5s late, a marker set on the name
  first selected. origin/main's file: red in Chromium and WebKit, "the
  name selected is the one drawn last"; this file green in both.
- account-arrange.test.cjs, Chromium, at load ~230-258: green (the first
  run, before the first row got its load's minute; WebKit then went red
  at that 5s first wait, which this file now gives a minute).
- Both engines at load 205-245 (other sessions' suites): this file and
  origin/main's own file both run past the test's 90s budget, Chromium
  and WebKit alike (origin/main's Chromium once red at 14s instead). That
  budget under load is #2200, the same on origin/main, not changed here.

Not tried: the whole GUI suite; mote (#4125) or Windows.
2026-10-31 02:09:18 +08:00
..
…
…
…
…