mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-17 13:09:49 -04:00
Merge pull request #882 from GSA/847-change-blanket-error-message
847 - content update for blanket error page
This commit is contained in:
@@ -4,16 +4,10 @@
|
||||
<div class="grid-row">
|
||||
<div class="grid-col-8">
|
||||
<h1 class="heading-large">
|
||||
Sorry, there’s a problem with Notify.gov
|
||||
Sorry, we can't deliver what you asked for right now.
|
||||
</h1>
|
||||
<p class="usa-body">
|
||||
Try again later.
|
||||
</p>
|
||||
<!-- <p class="usa-body">
|
||||
You can check our <a class="usa-link" href="https://status.notifications.service.gov.uk">system status</a> page to see if there are any known issues.
|
||||
</p> -->
|
||||
<p class="usa-body">
|
||||
To report a problem, please email <a class="usa-link" href="mailto:notify-support@gsa.gov">notify-support@gsa.gov</a>.
|
||||
Please try again later or <a class="usa-link" href="mailto:notify-support@gsa.gov"></a>email us</a> for more information.</p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -54,7 +54,10 @@ def test_csrf_returns_400(client_request, mocker):
|
||||
_test_page_title=False,
|
||||
)
|
||||
|
||||
assert page.h1.string.strip() == "Sorry, there’s a problem with Notify.gov"
|
||||
assert (
|
||||
page.h1.string.strip()
|
||||
== "Sorry, we can't deliver what you asked for right now."
|
||||
)
|
||||
assert (
|
||||
page.title.string.strip()
|
||||
== "Sorry, there’s a problem with the service – Notify.gov"
|
||||
@@ -75,7 +78,10 @@ def test_csrf_redirects_to_sign_in_page_if_not_signed_in(client_request, mocker)
|
||||
def test_405_returns_something_went_wrong_page(client_request, mocker):
|
||||
page = client_request.post_url("/", _expected_status=405)
|
||||
|
||||
assert page.h1.string.strip() == "Sorry, there’s a problem with Notify.gov"
|
||||
assert (
|
||||
page.h1.string.strip()
|
||||
== "Sorry, we can't deliver what you asked for right now."
|
||||
)
|
||||
assert (
|
||||
page.title.string.strip()
|
||||
== "Sorry, there’s a problem with the service – Notify.gov"
|
||||
|
||||
Reference in New Issue
Block a user