FEATURE: support a description attribute on form template fields (#23744)

* FEATURE: support a description attribute on form template fields
This commit is contained in:
Renato Atilio
2023-10-04 17:51:53 -03:00
committed by GitHub
parent a1aedc9ce1
commit 1d70cf455e
18 changed files with 453 additions and 110 deletions

View File

@ -170,6 +170,14 @@ module PageObjects
page.has_css?(".form-template-field__error", text: error)
end
def has_form_template_field_label?(label)
page.has_css?(".form-template-field__label", text: label)
end
def has_form_template_field_description?(description)
page.has_css?(".form-template-field__description", text: description)
end
def composer_input
find("#{COMPOSER_ID} .d-editor .d-editor-input")
end