IDE tests: ensure that file browser idled before entering path in new_project wxPython4
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Thu, 15 Dec 2022 14:49:52 +0100
branchwxPython4
changeset 3698 a538a163ff6f
parent 3697 12b6add87876
child 3701 cd477457d825
IDE tests: ensure that file browser idled before entering path in new_project
tests/ide_tests/new_project.sikuli/new_project.py
--- a/tests/ide_tests/new_project.sikuli/new_project.py	Thu Dec 15 14:46:48 2022 +0100
+++ b/tests/ide_tests/new_project.sikuli/new_project.py	Thu Dec 15 14:49:52 2022 +0100
@@ -28,11 +28,15 @@
     # Move to "Home" section of file selecor, otherwise address is 
     # "file ignored" at first run
     app.type("f", Key.CTRL)
+    app.WaitIdleUI()
     app.type(Key.ESC)
+    app.WaitIdleUI()
     app.type(Key.TAB)
+    app.WaitIdleUI()
     
     # Enter directory by name
     app.k.Address()
+    app.WaitIdleUI()
     
     # Fill address bar
     app.type(new_project_path + Key.ENTER)