From 8feee8149fba81e08faedfd3b067bdd1f4244268 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 23 May 2023 22:43:50 +0200 Subject: [PATCH] DEV: attempts to increase wait for a flakey spec (#21705) --- plugins/chat/spec/system/unfollow_dm_channel_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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