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