Skip to content

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

DEV: Fix a chat drawer spec (#40613)

Jarek Radosz77252bf0a331
diff --git a/plugins/chat/spec/system/drawer_spec.rb b/plugins/chat/spec/system/drawer_spec.rb
index d1500291196..91eaf1d6f0c 100644
--- a/plugins/chat/spec/system/drawer_spec.rb
+++ b/plugins/chat/spec/system/drawer_spec.rb
@@ -178,6 +178,8 @@ RSpec.describe "Drawer" do
chat_page.minimize_full_page
drawer_page.maximize
+ expect(page).to have_css(".chat-channel.--loaded[data-id='#{channel_1.id}']")
+
Fabricate(
:chat_message,
chat_channel: channel_1,