DEV: Show form templates in the composer (#21190)

This commit is contained in:
Keegan George
2023-05-29 14:47:18 -07:00
committed by GitHub
parent 5abe98afb5
commit c74c90bae5
26 changed files with 548 additions and 96 deletions

View File

@ -34,8 +34,16 @@ module PageObjects
component.find(".select-kit-header[data-value='#{value}']")
end
def has_selected_name?(value)
component.find(".select-kit-header[data-name='#{value}']")
def has_selected_name?(name)
component.find(".select-kit-header[data-name='#{name}']")
end
def has_selected_choice_name?(name)
component.find(".selected-choice[data-name='#{name}']")
end
def has_option_name?(name)
component.find(".select-kit-collection li[data-name='#{name}']")
end
def expand