discourse/spec/system/page_objects/components/topic_list.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
303 B
Ruby
Raw Normal View History

# 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