Kaydet (Commit) 5a92b4f9 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: work around race condition when starting multiple soffice instances

Change-Id: I45b57f6789a6156b7f70b39bac624bab55dc17ff
üst 75103ef0
...@@ -102,6 +102,9 @@ class UITest(object): ...@@ -102,6 +102,9 @@ class UITest(object):
time_ = 0 time_ = 0
while time_ < 30: while time_ < 30:
if event.executed: if event.executed:
frames = self.get_frames()
self.get_desktop().setActiveFrame(frames[0])
print(len(frames))
return return
time_ += DEFAULT_SLEEP time_ += DEFAULT_SLEEP
time.sleep(DEFAULT_SLEEP) time.sleep(DEFAULT_SLEEP)
......
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