Skip to content

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

FIX: flakey spec due to autocomplete (#19598)

Joffrey JAFFEUXf1e808153c6c
diff --git a/plugins/chat/spec/system/jit_messages_spec.rb b/plugins/chat/spec/system/jit_messages_spec.rb
index 4d7efc860c4..0cfbf77a807 100644
--- a/plugins/chat/spec/system/jit_messages_spec.rb
+++ b/plugins/chat/spec/system/jit_messages_spec.rb
@@ -37,6 +37,7 @@ RSpec.describe "JIT messages", type: :system, js: true do
it "displays a mention warning" do
chat.visit_channel(private_channel_1)
find(".chat-composer-input").fill_in(with: "hi @#{other_user.username}")
+ find(".chat-composer-input").click
find(".send-btn").click
expect(page).to have_content(