dropped the wait timer on the search box causing an error

This commit is contained in:
2026-07-08 21:43:52 -05:00
parent a9fa2c4916
commit 041ffd1c3f

View File

@@ -136,8 +136,9 @@ def find_search_box(main, ctrl, timeouts, log):
def navigate_to_drawer(main, search_box, drawer_id, ctrl, timeouts, log): def navigate_to_drawer(main, search_box, drawer_id, ctrl, timeouts, log):
"""Type the drawer ID into the search box and click Go.""" """Type the drawer ID into the search box and click Go."""
search_box.wait("visible ready", timeout=timeouts["nav"]) # search_box is a control wrapper (from find_search_box), not a
# WindowSpecification, so it has no .wait() — it was already confirmed
# present/visible when located. set_edit_text works directly on it.
search_box.set_edit_text("") search_box.set_edit_text("")
search_box.set_edit_text(drawer_id) search_box.set_edit_text(drawer_id)
time.sleep(timeouts["settle"]) time.sleep(timeouts["settle"])