diff --git a/app/templates/views/check.html b/app/templates/views/check.html index 539ed320f..9f3571dad 100644 --- a/app/templates/views/check.html +++ b/app/templates/views/check.html @@ -9,7 +9,7 @@ {% from "components/message-count-label.html" import message_count_label %} {% block page_title %} - {{ "Error" if errors else "Check and confirm" }} – GOV.UK Notify + {{ "Error" if errors else "Preview" }} – GOV.UK Notify {% endblock %} {% block maincolumn_content %} @@ -136,7 +136,7 @@ {% else %}

- Check and confirm + Preview

{% endif %} diff --git a/app/templates/views/send-test.html b/app/templates/views/send-test.html index 600a3d2b4..a8b4c66b6 100644 --- a/app/templates/views/send-test.html +++ b/app/templates/views/send-test.html @@ -54,7 +54,7 @@ {% endfor %} {% endcall %} - {{ page_footer("Check and confirm", back_link=( + {{ page_footer("Preview", back_link=( url_for('.send_messages', service_id=current_service.id, template_id=template.id)) if not request.args['help'] else None ) }} diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py index 4f3f431a3..44062872e 100644 --- a/tests/app/main/views/test_send.py +++ b/tests/app/main/views/test_send.py @@ -694,7 +694,7 @@ def test_send_and_check_page_renders_if_no_statistics( today = datetime.today().date().strftime('%Y-%m-%d') assert resp.status_code == 200 page = BeautifulSoup(resp.data.decode('utf-8'), 'html.parser') - assert page.h1.text.strip() == 'Check and confirm' + assert page.h1.text.strip() == 'Preview' mock_get_stats.assert_called_once_with(fake_uuid, today)