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

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

16 lines
309 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module PageObjects
module Components
class LegacyHeaderDropdown < PageObjects::Components::Base
def click
page.find(".hamburger-dropdown").click
end
def visible?
page.has_css?(".menu-container-general-links")
end
end
end
end