FIX: flakey spec due to autocomplete (#19598)
The autocomplete could show and hide the invite link causing the test to fail. Clicking the composer input forces the autocomplete disappear.
This commit is contained in:
parent
2c295f76fe
commit
f1e808153c
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue