mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Changing U.S. Notify to Notify.gov (#656)
This commit is contained in:
@@ -24,13 +24,13 @@ def test_non_logged_in_user_can_see_homepage(
|
||||
)
|
||||
|
||||
assert page.select_one('meta[name=description]')['content'].strip() == (
|
||||
'U.S. Notify lets you send text messages to your users. '
|
||||
'Notify.gov lets you send text messages to your users. '
|
||||
'Try it now if you work in federal, state, or local government.'
|
||||
)
|
||||
|
||||
# This area is hidden for the pilot
|
||||
# assert normalize_spaces(page.select_one('#whos-using-notify').text) == (
|
||||
# 'Who’s using U.S. Notify ' # Hiding this next area for the pilot
|
||||
# 'Who’s using Notify.gov ' # Hiding this next area for the pilot
|
||||
# # Hiding this next area for the pilot
|
||||
# # 'See the list of services and organizations. '
|
||||
# 'There are 111 Organizations and 9,999 Services using Notify.'
|
||||
@@ -225,7 +225,7 @@ def test_old_using_notify_page(client_request):
|
||||
def test_terms_page_has_correct_content(client_request):
|
||||
terms_page = client_request.get('main.terms')
|
||||
assert normalize_spaces(terms_page.select('main p')[0].text) == (
|
||||
'These terms apply to your service’s use of U.S. Notify. '
|
||||
'These terms apply to your service’s use of Notify.gov. '
|
||||
'You must be the service manager to accept them.'
|
||||
)
|
||||
|
||||
@@ -243,14 +243,14 @@ def test_css_is_served_from_correct_path(client_request):
|
||||
'https://static.example.com/css/styles.css?',
|
||||
][index])
|
||||
|
||||
# Commenting out until after the pilot when we'll decide on a logo
|
||||
# def test_resources_that_use_asset_path_variable_have_correct_path(client_request):
|
||||
|
||||
def test_resources_that_use_asset_path_variable_have_correct_path(client_request):
|
||||
# page = client_request.get('main.documentation') # easy static page
|
||||
|
||||
page = client_request.get('main.documentation') # easy static page
|
||||
# logo_svg_fallback = page.select_one('.usa-flag-logo')
|
||||
|
||||
logo_svg_fallback = page.select_one('.usa-flag-logo')
|
||||
|
||||
assert logo_svg_fallback['src'].startswith('https://static.example.com/images/us-notify-color.png')
|
||||
# assert logo_svg_fallback['src'].startswith('https://static.example.com/images/us-notify-color.png')
|
||||
|
||||
|
||||
@pytest.mark.parametrize('extra_args, email_branding_retrieved', (
|
||||
|
||||
Reference in New Issue
Block a user