mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 15:54:43 +08:00
FIX: In topic search for glimmer header (#26040)
- Fix cmd + f keyboard shortcut that opens up the search menu or browser search
This commit is contained in:
@ -42,6 +42,14 @@ module PageObjects
|
||||
find(".topic-list-body tr:first-of-type").click
|
||||
end
|
||||
|
||||
def has_search_menu_visible?
|
||||
page.has_selector?(".search-menu .search-menu-panel", visible: true)
|
||||
end
|
||||
|
||||
def has_no_search_menu_visible?
|
||||
page.has_no_selector?(".search-menu .search-menu-panel")
|
||||
end
|
||||
|
||||
SEARCH_RESULT_SELECTOR = ".search-results .fps-result"
|
||||
|
||||
def has_topic_title_for_first_search_result?(title)
|
||||
|
Reference in New Issue
Block a user