discourse/spec/system/page_objects/pages/discovery.rb

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

24 lines
547 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module PageObjects
module Pages
class Discovery < PageObjects::Pages::Base
def topic_list
Components::TopicList.new
end
def category_drop
Components::SelectKit.new(".category-breadcrumb li:first-of-type .category-drop")
end
def subcategory_drop
Components::SelectKit.new(".category-breadcrumb li:nth-of-type(2) .category-drop")
end
def tag_drop
Components::SelectKit.new(".category-breadcrumb .tag-drop")
end
end
end
end