mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
The general-channel welcome seeds are backdated by up to 120s, so a smoke run that straddles midnight UTC renders two day dividers (Yesterday + Today). Three specs asserted toBeVisible() on the bare message-timeline-day-divider locator, which Playwright strict mode rejects the moment two dividers exist — this is what failed Desktop Smoke E2E shard 3 on the 23:53 UTC run of PR #6003 (test started before midnight, assertion ran after). Assert .first() visibility instead at all three sites (messaging.spec.ts day-divider test, channels.spec.ts general-channel content test, and the DM unread-clear test). The tests' intent is "a divider appears", which the first divider proves on both sides of midnight. Pre-existing on main; surfaced here because the PR run happened to cross the boundary. Co-authored-by: Thomas Petersen <thomasp@squareup.com> Signed-off-by: Thomas Petersen <thomasp@squareup.com>