Medium-level content updates from audit (#497)

This commit is contained in:
Jonathan Bobel
2023-06-01 12:46:19 -04:00
committed by GitHub
parent a364be2dda
commit 4f91a9e9f9
11 changed files with 442 additions and 120 deletions

View File

@@ -28,14 +28,18 @@ def test_non_logged_in_user_can_see_homepage(
'to your users. Try it now if you work in federal, state, or local government.'
)
assert normalize_spaces(page.select_one('#whos-using-notify').text) == (
'Whos using U.S. Notify '
'There are 111 organizations and 9,999 services using Notify. '
'See the list of services and organizations.'
)
assert page.select_one('#whos-using-notify a')['href'] == url_for(
'main.performance'
)
# assert normalize_spaces(page.select_one('#whos-using-notify').text) == (
# 'Whos using U.S. Notify '
# 'There are 111 organizations and 9,999 services using Notify. '
# 'See the list of services and organizations.'
# )
# assert page.select_one('#whos-using-notify a')['href'] == url_for(
# 'main.performance'
# )
# To be removed if we decide to use the "Whos using Notify" link
anchor_tag = page.select_one('#whos-using-notify a')
assert anchor_tag is None
def test_logged_in_user_redirects_to_choose_account(