diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-23 06:41:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-23 21:37:25 +0200 |
commit | fadf31b32566bc5e7b729de3e112addb93585be8 (patch) | |
tree | 42cebd19fe87fbb874f6b236a386a46b53ba013d /uitest | |
parent | 0bdbd099bb52ae687196e06561e03c5c4d9c90eb (diff) |
uitest: wait twice as long for blocking actions
Change-Id: Ib54a12e9bce3f0be9b31c57550d01754323832c6
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/uitest/test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py index 122df519da4d..485fe5e4756f 100644 --- a/uitest/uitest/test.py +++ b/uitest/uitest/test.py @@ -198,7 +198,8 @@ class UITest(object): with EventListener(self._xContext, ["DialogExecute", "ModelessDialogExecute"]) as event: thread.start() time_ = 0 - while time_ < MAX_WAIT: + # wait twice as long as we are potentially executing a second action + while time_ < 2*MAX_WAIT: if event.executed: xDlg = self._xUITest.getTopFocusWindow() if dialog_element: |