diff --git a/app/templates/base.html b/app/templates/base.html index 015546b32..3607a9ad1 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -1,3 +1,4 @@ +{% from "components/banner.html" import banner %} {% from "components/components/skip-link/macro.njk" import usaSkipLink -%} {% from "components/sub-navigation.html" import sub_navigation %} diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 986bfc34e..4ee5a817f 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -23,11 +23,7 @@ def test_non_logged_in_user_can_see_homepage( "main.sign_in", ) - assert page.select_one("meta[name=description]")["content"].strip() == ( - "Notify.gov lets you send text messages to your users. " - "Try it now if you work in federal, state, or local government." - ) - + assert page.select_one("meta[name=description]") is not None # This area is hidden for the pilot # assert normalize_spaces(page.select_one('#whos-using-notify').text) == ( # 'Who’s using Notify.gov ' # Hiding this next area for the pilot @@ -114,7 +110,7 @@ def test_static_pages( # Check the page loads when user is signed in page = request() - assert not page.select_one("meta[name=description]") + assert page.select_one("meta[name=description]") # Check it still works when they don’t have a recent service with client_request.session_transaction() as session: