Files
buzz/desktop/tests
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w 602e5d3478 fix(messages): paint owner avatar fallback and harden its e2e assertions
Radix AvatarFallback's delayMs exists to avoid an initials flash while
an avatar image loads. With no image src there is nothing to wait for,
yet the 200ms delay still applied — so avatar-less owners painted a
blank 16px box on cold renders (caught in live-build review). Only
apply the delay when an image src is present.

Tighten the e2e so it can no longer pass on an empty wrapper: seed one
owner with a hermetic data-URL avatar and one without, assert a fully
loaded <img> (naturalWidth > 0) for the former and visible initials
text for the latter, and give the second-level owner-profile fetch
generous timeouts to kill the cold-run race. 18 consecutive runs green
including cold server starts.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-07-02 10:28:55 -07:00
..