fixed test

This commit is contained in:
Beverly Nguyen
2024-02-16 18:05:13 -08:00
parent 02d1c2b26e
commit 2e7aeb1dbf

View File

@@ -2610,11 +2610,9 @@ def test_preview_notification_shows_preview(
session["recipient"] = "2028675301"
session["placeholders"] = {}
page = client_request.get(
"main.preview_notification", service_id=service_one["id"], template_id=fake_uuid
)
assert page.h1.text.strip() == "Preview"
assert (page.find_all("a", {"class": "usa-back-link"})[0]["href"]) == url_for(
"main.check_notification",