mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
fixed e2e test
This commit is contained in:
@@ -22,7 +22,7 @@ def test_landing_page(end_to_end_context):
|
||||
"heading",
|
||||
name="Reach people where they are with government-powered text messages",
|
||||
)
|
||||
sign_in_button = page.get_by_role("link", name="Sign in")
|
||||
sign_in_button = page.get_by_role("link", name="Sign in with")
|
||||
benefits_studio_email = page.get_by_role("link", name="tts-benefits-studio@gsa.gov")
|
||||
|
||||
# Check to make sure the elements are visible.
|
||||
@@ -31,7 +31,7 @@ def test_landing_page(end_to_end_context):
|
||||
expect(benefits_studio_email).to_be_visible()
|
||||
|
||||
# Check to make sure the sign-in button and email links are correct.
|
||||
expect(sign_in_button).to_have_attribute("href", "/sign-in")
|
||||
expect(sign_in_button).to_have_attribute("href")
|
||||
expect(benefits_studio_email).to_have_attribute(
|
||||
"href", "mailto:tts-benefits-studio@gsa.gov"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user