A platform for community discussion. Free, open, simple.
DEV: Fix chat sidebar spec flakes (#40574)
Jarek Radoszb86e0551398c
diff --git a/plugins/chat/spec/system/page_objects/sidebar/chat_sidebar.rb b/plugins/chat/spec/system/page_objects/sidebar/chat_sidebar.rbindex 8fbd7a7b690..6403293979c 100644--- a/plugins/chat/spec/system/page_objects/sidebar/chat_sidebar.rb+++ b/plugins/chat/spec/system/page_objects/sidebar/chat_sidebar.rb@@ -146,12 +146,14 @@ module PageObjects# Requires open_notification_settings to be called firstdef set_notification_level(level)find(".chat-channel-sidebar-link-menu__notification-level-#{level}").click+ has_no_css?(".chat-channel-sidebar-link-menu__notification-level-#{level}")selfend# Requires open_notification_settings to be called firstdef toggle_mute_channelfind(".chat-channel-sidebar-link-menu__mute-channel").click+ has_no_css?(".chat-channel-sidebar-link-menu__mute-channel")selfendend