2767 passing

This commit is contained in:
jimmoffet
2022-08-05 00:25:03 -07:00
parent f48872b4cc
commit dad051a662
71 changed files with 497 additions and 374 deletions

View File

@@ -25,13 +25,12 @@ def test_non_logged_in_user_can_see_homepage(
)
assert page.select_one('meta[name=description]')['content'].strip() == (
'GOV.UK Notify lets you send emails, text messages and letters '
'to your users. Try it now if you work in central government, a '
'local authority, or the NHS.'
'US Notify lets you send emails, text messages and letters '
'to your users. Try it now if you work in federal, state or local government.'
)
assert normalize_spaces(page.select_one('#whos-using-notify').text) == (
'Whos using GOV.UK Notify '
'Whos using US Notify '
'There are 111 organisations and 9,999 services using Notify. '
'See the list of services and organisations.'
)
@@ -222,7 +221,7 @@ def test_old_integration_testing_page(
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 services use of GOV.UK Notify. '
'These terms apply to your services use of US Notify. '
'You must be the service manager to accept them.'
)
@@ -240,6 +239,7 @@ def test_css_is_served_from_correct_path(client_request):
][index])
@pytest.mark.skip(reason="Update for TTS")
def test_resources_that_use_asset_path_variable_have_correct_path(client_request):
page = client_request.get('main.documentation') # easy static page