The test runs with reducedMotion "reduce", where app.css cuts every
animation to .01ms: the flash class panelQuotaFocus puts on the Command
Code card is removed on animationend a frame later (instrumented:
animationstart and animationend both at 43ms, elapsedTime 0.00001). A
waitForFunction poll landing outside that frame timed out at 5s. On
origin/main 0d39515b1, 8 runs of key-balance-card + tray-usages in WebKit
at --test-concurrency=4 had 10 such failures; no app code is involved.
A MutationObserver set before the focus now records that the card was
flashed. tray-cell-click, the other test that asserts the flash, runs
without reduced motion and only waits for its absence under it.
Run: 6 more WebKit runs of the same pair at --test-concurrency=4, 0
failures; key-balance-card in Chromium, 10/10.