mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Rename check and confirm to preview
We’ve seen people land on this page and expect the message to be on their phone already. ‘Check and confirm’ sounds a lot like ‘check your phone’, which is language that we use earlier on when we _have_ sent a message. Hopefully ‘preview’ is a better indication that it’s not sent yet.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user