Skip to content

A platform for community discussion. Free, open, simple.

DEV: fix rich editor check flaky (take 3) (#38155)

Renato Atilioca404c8e0ed3
diff --git a/plugins/checklist/spec/system/rich_editor_extension_spec.rb b/plugins/checklist/spec/system/rich_editor_extension_spec.rb
index a17485c898c..dc794b0698b 100644
--- a/plugins/checklist/spec/system/rich_editor_extension_spec.rb
+++ b/plugins/checklist/spec/system/rich_editor_extension_spec.rb
@@ -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