mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
DEV: Show form templates in the composer (#21190)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user