mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
When the `navigation_menu` site setting has been set to `sidebar` or `header dropdown`, overriding the site setting via the `navigation_menu` query params did not work. Follow-up to c47015b861fa538003d4d7d1267f9acedc6d2948
16 lines
309 B
Ruby
16 lines
309 B
Ruby
# 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
|