diff --git a/tests/app/main/views/test_manage_users.py b/tests/app/main/views/test_manage_users.py index 7b0b1d9e4..1d47b098d 100644 --- a/tests/app/main/views/test_manage_users.py +++ b/tests/app/main/views/test_manage_users.py @@ -186,7 +186,7 @@ def test_should_show_live_search_if_more_than_7_users( ) assert len(page.select(".user-list-item")) == number_of_users - textbox = page.select_one("[data-module=autofocus] .usa-input") + textbox = page.select_one(".usa-input") assert "value" not in textbox assert textbox["name"] == "search" # data-module=autofocus is set on a containing element so it