Merge pull request #1470 from GSA/1463-convert-basehtml-template-to-become-the-new-main-template

Switch to the new base.html template
This commit is contained in:
Carlo Costino
2024-05-17 14:11:04 -04:00
committed by GitHub
74 changed files with 120 additions and 133 deletions

View File

@@ -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) == (
# 'Whos 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 dont have a recent service
with client_request.session_transaction() as session: