From e1528a27b28e2780acda4831833870d3f036ec82 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Fri, 28 Jul 2023 14:11:03 -0400 Subject: [PATCH] Seeing if this test change will let it pass --- tests/end_to_end/test_landing_and_sign_in_pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/end_to_end/test_landing_and_sign_in_pages.py b/tests/end_to_end/test_landing_and_sign_in_pages.py index 82e7d02eb..cd3c81d2e 100644 --- a/tests/end_to_end/test_landing_and_sign_in_pages.py +++ b/tests/end_to_end/test_landing_and_sign_in_pages.py @@ -10,7 +10,7 @@ def test_landing_page(end_to_end_auth_context): page.goto(os.environ.get('NOTIFY_STAGING_URI')) # Check the page title exists and matches what we expect. - expect(page).to_have_title(re.compile('U.S. Notify')) + expect(page).to_have_title(re.compile('Notify.gov')) # Retrieve some prominent elements on the page for testing. main_header = page.get_by_role( @@ -65,7 +65,7 @@ def test_sign_in_page(end_to_end_auth_context): # the template itself. # TODO: Improve this check, or change it so no special character is # needed. Better yet, fix the template(s) character too. - expect(page).to_have_title(re.compile('Sign in – U.S. Notify')) + expect(page).to_have_title(re.compile('Sign in – Notify.gov')) # Check for the sign in heading. sign_in_heading = page.get_by_role('heading', name='Sign in')