DEV: Added the category chooser into the composer page object (#23076)

This commit is contained in:
Sérgio Saquetim 2023-08-14 10:18:58 -03:00 committed by GitHub
parent 643193d2f0
commit 04c9c81cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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