Kaydet (Commit) 0163984c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

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
üst b1fd54a4
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment