Skip to content

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

DEV: attempts to fix flakey spec (#21547)

Joffrey JAFFEUX64971e597248
diff --git a/plugins/chat/spec/system/navigating_to_message_spec.rb b/plugins/chat/spec/system/navigating_to_message_spec.rb
index c8a40988e89..41ede9af054 100644
--- a/plugins/chat/spec/system/navigating_to_message_spec.rb
+++ b/plugins/chat/spec/system/navigating_to_message_spec.rb
@@ -69,7 +69,7 @@ RSpec.describe "Navigating to message", type: :system, js: true do
click_button(class: "chat-scroll-to-bottom")
- expect(page).to have_content(link)
+ expect(page).to have_content(link, visible: :all)
click_link(link)