uitest: wait longer for the blocking action event
Blocking actions are normal actions plus a modal dialog. So we need
to wait quite some time before considering the action as failed.
Change-Id: I76360b15f54abb1f957a1cddf5314359dfae2d25
diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py
index 485fe5e..58f4ec4 100644
--- a/uitest/uitest/test.py
+++ b/uitest/uitest/test.py
@@ -198,8 +198,8 @@ class UITest(object):
with EventListener(self._xContext, ["DialogExecute", "ModelessDialogExecute"]) as event:
thread.start()
time_ = 0
# wait twice as long as we are potentially executing a second action
while time_ < 2*MAX_WAIT:
# we are not necessarily opeinging a dialog, so wait much longer
while time_ < 10 * MAX_WAIT:
if event.executed:
xDlg = self._xUITest.getTopFocusWindow()
if dialog_element: