Update test_tour.py

This commit is contained in:
Jonathan Bobel
2025-02-26 12:19:15 -05:00
parent 0daf140b39
commit e769d421be

View File

@@ -163,6 +163,8 @@ def test_should_show_empty_text_box(
"main.tour_step", service_id=SERVICE_ONE_ID, template_id=fake_uuid, step_index=1
)
print(page.prettify())
textbox = page.select_one(
"[data-module=autofocus][data-force-focus=True] .usa-input"
)
@@ -175,7 +177,7 @@ def test_should_show_empty_text_box(
# shouldnt also be set on the textbox itself
assert "data-module" not in textbox
assert normalize_spaces(page.select_one("label[for=phone-number]").text) == "one"
assert normalize_spaces(page.select_one("label").text) == "one"
def test_should_prefill_answers_for_get_tour_step(