mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Fixing tests
This commit is contained in:
@@ -1310,6 +1310,8 @@ def test_shows_delete_link_for_error_on_post_request_for_edit_email_reply_to_add
|
||||
_expected_status=200,
|
||||
)
|
||||
|
||||
print(page.prettify())
|
||||
|
||||
assert page.select_one(".usa-back-link").text.strip() == "Back"
|
||||
assert page.select_one(".usa-back-link")["href"] == url_for(
|
||||
".service_email_reply_to",
|
||||
@@ -1320,7 +1322,7 @@ def test_shows_delete_link_for_error_on_post_request_for_edit_email_reply_to_add
|
||||
== "Error: Enter a valid email address"
|
||||
)
|
||||
assert (
|
||||
page.select_one("input#email_address").get("value")
|
||||
page.select_one("input#reply-to-email-address").get("value")
|
||||
== "not a valid email address"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user