dropped the wait timer on the search box causing an error
This commit is contained in:
@@ -136,8 +136,9 @@ def find_search_box(main, 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."""
|
||||
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(drawer_id)
|
||||
time.sleep(timeouts["settle"])
|
||||
|
||||
Reference in New Issue
Block a user