diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-31 01:17:28 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-31 01:18:34 +0200 |
commit | 0163984ce76141665296969118791a9ffbf076eb (patch) | |
tree | 4844f76ebcdb3c75e394ef9428b53be559b741aa /uitest | |
parent | b1fd54a408602126003ffd5032fb86e95b2744cb (diff) |
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
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/uitest/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |