mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 17:24:23 -04:00
Show dynamic message when letter fails validation in validation checker - part 2
This commit is contained in:
@@ -543,7 +543,7 @@ def test_view_letter_template_does_not_display_send_button_if_template_over_10_p
|
||||
)
|
||||
|
||||
assert "Send" not in page.text
|
||||
assert page.find('h1', {"data-error-type": "Trying to send a letter that's too long"})
|
||||
assert page.find('h1', {"data-error-type": "letter-too-long"})
|
||||
|
||||
|
||||
def test_edit_letter_template_postage_page_displays_correctly(
|
||||
|
||||
Reference in New Issue
Block a user