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

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

16 lines
308 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module PageObjects
module Components
class SidebarHeaderDropdown < PageObjects::Components::Base
def click
page.find(".hamburger-dropdown").click
end
def visible?
page.has_css?(".sidebar-hamburger-dropdown")
end
end
end
end