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:
Krzysztof Kotlarek
2024-03-27 14:42:06 +11:00
committed by GitHub
parent 8e08a3b31f
commit 0932b146d9
17 changed files with 235 additions and 66 deletions

View File

@ -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