A platform for community discussion. Free, open, simple.
FIX: fix scroll more chat spec (#35543)
Joffrey JAFFEUX818ba9c94117
diff --git a/plugins/chat/spec/system/chat_channel_spec.rb b/plugins/chat/spec/system/chat_channel_spec.rbindex fed30f5d874..96fc62ee581 100644--- a/plugins/chat/spec/system/chat_channel_spec.rb+++ b/plugins/chat/spec/system/chat_channel_spec.rb@@ -137,7 +137,7 @@ RSpec.describe "Chat channel", type: :system doexpect(channel_page).to have_no_loading_skeletonexpect(page).to have_no_css("[data-id='#{unloaded_message.id}']")- find(".chat-scroll-to-bottom__button.visible").click+ find(".chat-channel:not(.loading) .chat-scroll-to-bottom__button.visible").clickexpect(channel_page).to have_no_loading_skeletonexpect(page).to have_css("[data-id='#{unloaded_message.id}']")