[Libreoffice-commits] core.git: uitest/uitest
Markus Mohrhard
markus.mohrhard at googlemail.com
Sun Jul 30 23:19:21 UTC 2017
uitest/uitest/test.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0163984ce76141665296969118791a9ffbf076eb
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Jul 31 01:17:28 2017 +0200
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 485fe5e4756f..58f4ec4e64b2 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:
More information about the Libreoffice-commits
mailing list