mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 04:55:00 +00:00
16 lines
303 B
Ruby
16 lines
303 B
Ruby
# frozen_string_literal: true
|
|
|
|
module PageObjects
|
|
module Components
|
|
class TopicList < PageObjects::Components::Base
|
|
def topic_list
|
|
".topic-list-body"
|
|
end
|
|
|
|
def visit_topic_with_title(title)
|
|
find(".topic-list-body a", text: title).click
|
|
end
|
|
end
|
|
end
|
|
end
|