mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-01 14:51:04 -05:00
enable login.gov link on demo and production and adjust test
This commit is contained in:
committed by
Carlo Costino
parent
15c1863ab0
commit
470574e197
@@ -198,7 +198,7 @@ def sign_in():
|
||||
form=form,
|
||||
again=bool(redirect_url),
|
||||
other_device=other_device,
|
||||
login_gov_enabled=bool(notify_env in ["development", "staging"]),
|
||||
login_gov_enabled=True,
|
||||
password_reset_url=password_reset_url,
|
||||
initial_signin_url=initial_signin_url,
|
||||
)
|
||||
|
||||
@@ -21,8 +21,8 @@ def test_render_sign_in_template_for_new_user(client_request):
|
||||
# Removing for the pilot
|
||||
# assert page.select('main a')[0].text == 'create one now'
|
||||
# assert page.select('main a')[0]['href'] == url_for('main.register')
|
||||
assert page.select("main a")[0].text == "Forgot your password?"
|
||||
assert page.select("main a")[0]["href"] == url_for("main.forgot_password")
|
||||
assert page.select("main a")[1].text == "Forgot your password?"
|
||||
assert page.select("main a")[1]["href"] == url_for("main.forgot_password")
|
||||
assert "Sign in again" not in normalize_spaces(page.text)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user