fixed end2end

This commit is contained in:
Beverly Nguyen
2024-06-11 16:22:38 -07:00
parent 5147072621
commit 6be4f878e4
3 changed files with 4 additions and 6 deletions

View File

@@ -31,7 +31,9 @@ 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")
href_value = sign_in_button.get_attribute('href')
assert href_value is not None, "The sign-in button does not have an href attribute"
# expect(sign_in_button).to_have_attribute("href")
expect(benefits_studio_email).to_have_attribute(
"href", "mailto:tts-benefits-studio@gsa.gov"
)