mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Add and use textarea component from GOV.UK Frontend
For the "Something else" branding form we want the form label to be the title. This brings in the textarea component from GOV.UK Frontend in order to do this since that contains code to set a the textarea label as the page heading in an accessible way. The rest of the textarea fields have not been switched to use the new component yet.
This commit is contained in:
@@ -5704,7 +5704,7 @@ def test_submit_email_branding_something_else_page_shows_error_if_textbox_is_emp
|
||||
_follow_redirects=True,
|
||||
)
|
||||
assert normalize_spaces(page.h1.text) == 'Describe the branding you want'
|
||||
assert normalize_spaces(page.select_one('.error-message').text) == 'Cannot be empty'
|
||||
assert normalize_spaces(page.select_one('.govuk-error-message').text) == 'Error: Cannot be empty'
|
||||
|
||||
|
||||
def test_service_settings_links_to_branding_request_page_for_letters(
|
||||
|
||||
Reference in New Issue
Block a user