Repository navigation
Commit d523aa3
Fizz
test(desktop): clear forum source draft through the editor keymap
Playwright's fill("") on a contenteditable selects the DOM range and then
presses Delete. ProseMirror handles Delete with its own selection, which
may not have synced from the DOM yet, so the key can be a no-op and the
empty-replacement cases of "forum source visit ... retains source draft"
kept "@remotescout hello" (about 1 in 4 recent CI smoke shard 2 runs).
Select with ControlOrMeta+a so ProseMirror owns the selection, and assert
the replacement text before navigating away.
Signed-off-by: Fizz <6be7be23ec5bba868f3e1db5ec86013d76bd1a293dce5b435a192158fec13641@buzz.block.builderlab.xyz>1 parent 7ebf1be commit d523aa3
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
434 | 440 | | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
435 | 444 | | |
436 | 445 | | |
437 | 446 | | |
| |||
0 commit comments