From 85d74ec8bfef5631960df90d9b4163aec0d37473 Mon Sep 17 00:00:00 2001 From: David Battersby Date: Wed, 24 Jan 2024 12:24:40 +0800 Subject: [PATCH] DEV: remove pseudo-class selector in chat channel page object (#25399) The channels-list div is only rendered once now so the :first-child pseudo-class can be removed. --- .../spec/system/page_objects/chat/components/channel_index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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