mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
fixed testing
This commit is contained in:
@@ -269,7 +269,7 @@ def test_invite_goes_in_session(
|
|||||||
("user", "landing_page_title"),
|
("user", "landing_page_title"),
|
||||||
[
|
[
|
||||||
(create_active_user_with_permissions(), "Dashboard"),
|
(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(
|
def test_accepting_invite_removes_invite_from_session(
|
||||||
|
|||||||
@@ -581,9 +581,9 @@ def test_should_be_able_to_view_a_template_with_links(
|
|||||||
_test_page_title=False,
|
_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) == (
|
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 [
|
assert [
|
||||||
|
|||||||
Reference in New Issue
Block a user