mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Give email preview page a sensible page title
It’s derived from the subject line of the email now as of https://github.com/alphagov/notifications-utils/pull/793
This commit is contained in:
@@ -261,11 +261,12 @@ def test_email_branding_preview(
|
||||
extra_args,
|
||||
email_branding_retrieved,
|
||||
):
|
||||
client_request.get(
|
||||
page = client_request.get(
|
||||
'main.email_template',
|
||||
_test_page_title=False,
|
||||
**extra_args
|
||||
)
|
||||
assert page.title.text == 'Email branding preview'
|
||||
assert mock_get_email_branding.called is email_branding_retrieved
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user