uitest: work around race condition when starting multiple soffice instances
Change-Id: I45b57f6789a6156b7f70b39bac624bab55dc17ff
This commit is contained in:
parent
75103ef014
commit
5a92b4f98e
@ -102,6 +102,9 @@ class UITest(object):
|
||||
time_ = 0
|
||||
while time_ < 30:
|
||||
if event.executed:
|
||||
frames = self.get_frames()
|
||||
self.get_desktop().setActiveFrame(frames[0])
|
||||
print(len(frames))
|
||||
return
|
||||
time_ += DEFAULT_SLEEP
|
||||
time.sleep(DEFAULT_SLEEP)
|
||||
|
Loading…
x
Reference in New Issue
Block a user