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.
This commit is contained in:
David Battersby 2024-01-24 12:24:40 +08:00 committed by GitHub
parent 8b44270929
commit 85d74ec8bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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