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…
Reference in New Issue