From b6f341ee043f67ac59be4329bc6539b0a601b028 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Mon, 24 Feb 2025 15:34:52 -0500 Subject: [PATCH] Update test_organizations.py Fixing tests --- tests/app/main/views/organizations/test_organizations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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