fixed testing

This commit is contained in:
Beverly Nguyen
2024-12-03 17:15:52 -08:00
parent 8468b4d5e0
commit 02bffa8c12
2 changed files with 3 additions and 3 deletions

View File

@@ -269,7 +269,7 @@ def test_invite_goes_in_session(
("user", "landing_page_title"),
[
(create_active_user_with_permissions(), "Dashboard"),
(create_active_caseworking_user(), "Templates"),
(create_active_caseworking_user(), "Select or create a template"),
],
)
def test_accepting_invite_removes_invite_from_session(

View File

@@ -581,9 +581,9 @@ def test_should_be_able_to_view_a_template_with_links(
_test_page_title=False,
)
assert normalize_spaces(page.select_one("h1").text) == ("Review your message")
assert normalize_spaces(page.select_one("h1").text) == ("Confirm your template")
assert normalize_spaces(page.select_one("title").text) == (
"Two week reminder Select or create a template service one Notify.gov"
"Confirm your template service one Notify.gov"
)
assert [