mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
FEATURE: the ability to expand/collapse all admin sections (#26358)
By default, admin sections should be collapsed. In addition, a button to expand/collapse all sections has been added.
This commit is contained in:

committed by
GitHub

parent
8e08a3b31f
commit
0932b146d9
@ -40,6 +40,10 @@ module PageObjects
|
||||
def custom_section_modal_title
|
||||
find("#discourse-modal-title")
|
||||
end
|
||||
|
||||
def toggle_all_sections
|
||||
find(".sidebar-toggle-all-sections").click
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user