mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 02:18:24 -04:00
Update test_organizations.py
This commit is contained in:
@@ -815,8 +815,9 @@ def test_manage_org_users_should_show_live_search_if_more_than_7_users(
|
|||||||
)
|
)
|
||||||
assert len(page.select(".user-list-item")) == number_of_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 is not None
|
||||||
|
assert textbox.get("value") is None
|
||||||
assert textbox["name"] == "search"
|
assert textbox["name"] == "search"
|
||||||
# data-module=autofocus is set on a containing element so it
|
# data-module=autofocus is set on a containing element so it
|
||||||
# shouldn’t also be set on the textbox itself
|
# shouldn’t also be set on the textbox itself
|
||||||
|
|||||||
Reference in New Issue
Block a user