mirror of
https://github.com/discourse/discourse.git
synced 2026-08-02 09:29:37 -05:00
DEV: fix rich editor check flaky (take 3) (#38155)
This commit is contained in:
@@ -126,16 +126,11 @@ describe "Composer - ProseMirror editor - Checklist extension", type: :system do
|
||||
rich.click
|
||||
|
||||
click_checklist_toolbar_option
|
||||
rich.send_keys("Only item")
|
||||
|
||||
expect(checklist).to have_checkboxes(count: 1)
|
||||
|
||||
rich.send_keys(:home)
|
||||
expect(checklist).to have_items(count: 1)
|
||||
rich.send_keys(:backspace)
|
||||
|
||||
expect(checklist).to have_no_checkboxes
|
||||
expect(rich).to have_text("Only item")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user