Flaky on iPhone: the saved-draft line stays after Släng #204

Closed
opened 2026-10-20 18:04:06 +00:00 by littlefox · 1 comment
Owner

Seen twice on iPhone (WebKit) in full runs, passing on retry: e2e/tests/unseen.spec.ts "a channel clicked while writing shows its post, and keeps the draft" — after clicking "Släng" on the "Ditt utkast är sparat" line, .draft-aside is still there after 15 s (expected 0).

Släng removes the draft and clears the line, and nothing should set it again while no composer is open, so either the click is lost (the line re-rendered under it?) or something calls to_front again with a draft. Needs a trace (results/unseen-…-iphone/trace.zip from a failing run).

Seen twice on iPhone (WebKit) in full runs, passing on retry: e2e/tests/unseen.spec.ts "a channel clicked while writing shows its post, and keeps the draft" — after clicking "Släng" on the "Ditt utkast är sparat" line, `.draft-aside` is still there after 15 s (expected 0). Släng removes the draft and clears the line, and nothing should set it again while no composer is open, so either the click is lost (the line re-rendered under it?) or something calls to_front again with a draft. Needs a trace (results/unseen-…-iphone/trace.zip from a failing run).
Author
Owner

Couldn't reproduce: 60 iPhone runs of unseen.spec plus every full run since passed. The spec was hardened in #212: it checks for WebKit navigation errors before reloading, and it waits until the draft is gone from localStorage before asserting the saved-draft line is gone. That removes the likely race (a reload before Släng's removal was saved). Closing; reopen if it shows up again.

Couldn't reproduce: 60 iPhone runs of unseen.spec plus every full run since passed. The spec was hardened in #212: it checks for WebKit navigation errors before reloading, and it waits until the draft is gone from localStorage before asserting the saved-draft line is gone. That removes the likely race (a reload before Släng's removal was saved). Closing; reopen if it shows up again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
littlefox/neokom#204
No description provided.