mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:52:45 +08:00
FIX: Form template form error visiblity (#24779)
This commit is contained in:
parent
611acaa6bc
commit
290f6a70bd
|
@ -361,6 +361,7 @@
|
|||
overflow: auto;
|
||||
background: var(--primary-very-low);
|
||||
padding: 1rem;
|
||||
border: 1px solid var(--primary-medium);
|
||||
border: 1px solid var(--primary-400);
|
||||
margin-bottom: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
|
|
@ -181,7 +181,7 @@ module PageObjects
|
|||
end
|
||||
|
||||
def has_form_template_field_error?(error)
|
||||
page.has_css?(".form-template-field__error", text: error)
|
||||
page.has_css?(".form-template-field__error", text: error, visible: :all)
|
||||
end
|
||||
|
||||
def has_form_template_field_label?(label)
|
||||
|
|
Loading…
Reference in New Issue
Block a user