diff --git a/plugins/chat/spec/system/unfollow_dm_channel_spec.rb b/plugins/chat/spec/system/unfollow_dm_channel_spec.rb index 10e08bc02fd..f2227465382 100644 --- a/plugins/chat/spec/system/unfollow_dm_channel_spec.rb +++ b/plugins/chat/spec/system/unfollow_dm_channel_spec.rb @@ -31,7 +31,7 @@ RSpec.describe "Unfollow dm channel", type: :system, js: true do session.quit end - expect(page).to have_css(".channel-#{dm_channel_1.id} .urgent") + expect(page).to have_css(".channel-#{dm_channel_1.id} .urgent", wait: 25) end end end