From 0163984ce76141665296969118791a9ffbf076eb Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 31 Jul 2017 01:17:28 +0200 Subject: 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 --- uitest/uitest/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uitest') 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: -- cgit