diff options
Diffstat (limited to 'uitest/uitest/test.py')
-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: |