Skip to content

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

DEV: remove pseudo-class selector in chat channel page object (#25399)

David Battersby85d74ec8bfef
diff --git a/plugins/chat/spec/system/page_objects/chat/components/channel_index.rb b/plugins/chat/spec/system/page_objects/chat/components/channel_index.rb
index 12081f41348..d62bc4b7b59 100644
--- a/plugins/chat/spec/system/page_objects/chat/components/channel_index.rb
+++ b/plugins/chat/spec/system/page_objects/chat/components/channel_index.rb
@@ -6,7 +6,7 @@ module PageObjects
class ChannelIndex < PageObjects::Components::Base
attr_reader :context
- SELECTOR = ".channels-list:first-child"
+ SELECTOR = ".channels-list"
def initialize(context = nil)
@context = context