mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Updated test
This commit is contained in:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user