Updated test

This commit is contained in:
Jonathan Bobel
2024-03-12 14:29:16 -04:00
parent 429a456704
commit 7deaf71463

View File

@@ -218,7 +218,7 @@ def test_if_existing_user_accepts_twice_they_redirect_to_sign_in(
assert (
page.h1.string,
page.select("main p")[1].text.strip(),
page.select("main p")[0].text.strip(),
) == (
"You need to sign in again",
"We signed you out because you have not used Notify for a while.",
@@ -332,7 +332,7 @@ def test_existing_user_of_service_get_redirected_to_signin(
assert (
page.h1.string,
page.select("main p")[1].text.strip(),
page.select("main p")[0].text.strip(),
) == (
"You need to sign in again",
"We signed you out because you have not used Notify for a while.",
@@ -421,7 +421,7 @@ def test_existing_signed_out_user_accept_invite_redirects_to_sign_in(
assert mock_accept_invite.call_count == 1
assert (
page.h1.string,
page.select("main p")[1].text.strip(),
page.select("main p")[0].text.strip(),
) == (
"You need to sign in again",
"We signed you out because you have not used Notify for a while.",