From 290f6a70bdf2b5f479c058ba49f4d3219bc1c24b Mon Sep 17 00:00:00 2001 From: Keegan George Date: Thu, 7 Dec 2023 12:26:56 -0800 Subject: [PATCH] FIX: Form template form error visiblity (#24779) --- app/assets/stylesheets/common/d-editor.scss | 3 ++- spec/system/page_objects/components/composer.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/d-editor.scss b/app/assets/stylesheets/common/d-editor.scss index 87562b337cb..8f89999dbe0 100644 --- a/app/assets/stylesheets/common/d-editor.scss +++ b/app/assets/stylesheets/common/d-editor.scss @@ -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%; } diff --git a/spec/system/page_objects/components/composer.rb b/spec/system/page_objects/components/composer.rb index ebd2ad9e222..8f798f36c9a 100644 --- a/spec/system/page_objects/components/composer.rb +++ b/spec/system/page_objects/components/composer.rb @@ -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)