Update ServiceContactDetailsForm with new fields

Changes its:
- StringFields to GovukTextInputFields
- EmailFields to GovukEmailFields

Includes changes to templates that use this form
and associated tests.
This commit is contained in:
Tom Byers
2020-08-07 12:21:05 +01:00
parent 880a0a3318
commit 11dcd87115
3 changed files with 5 additions and 6 deletions

View File

@@ -4186,7 +4186,7 @@ def test_send_files_by_email_contact_details_does_not_update_invalid_contact_det
_follow_redirects=True
)
assert normalize_spaces(page.find('span', class_='error-message').text) == error
assert error in page.find('span', class_='govuk-error-message').text
assert normalize_spaces(page.h1.text) == "Send files by email"