diff --git a/tests/app/main/views/organizations/test_organizations.py b/tests/app/main/views/organizations/test_organizations.py index 0f4ee3dd6..a83e817fe 100644 --- a/tests/app/main/views/organizations/test_organizations.py +++ b/tests/app/main/views/organizations/test_organizations.py @@ -101,7 +101,7 @@ def test_page_to_create_new_organization( (input["type"], input["name"], input.get("value")) for input in page.select("input") ] == [ - ("text", "organization-name", None), + ("text", "name", None), ("radio", "organization_type", "federal"), ("radio", "organization_type", "state"), # ('radio', 'organization_type', 'nhs_central'), @@ -817,7 +817,7 @@ def test_manage_org_users_should_show_live_search_if_more_than_7_users( textbox = page.select_one("[data-module=autofocus] .usa-input") assert "value" not in textbox - assert textbox["name"] == "search-by-name-or-email-address" + assert textbox["name"] == "search" # data-module=autofocus is set on a containing element so it # shouldn’t also be set on the textbox itself assert "data-module" not in textbox