mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 17:25:15 +00:00
DEV: Added the category chooser into the composer page object (#23076)
This commit is contained in:
parent
643193d2f0
commit
04c9c81cda
@ -77,6 +77,10 @@ module PageObjects
|
||||
find(AUTOCOMPLETE_MENU)
|
||||
end
|
||||
|
||||
def category_chooser
|
||||
Components::SelectKit.new(".category-chooser")
|
||||
end
|
||||
|
||||
def switch_category(category_name)
|
||||
find(".category-chooser").click
|
||||
find(".category-row[data-name='#{category_name}']").click
|
||||
|
Loading…
x
Reference in New Issue
Block a user