diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-19 20:29:11 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-19 22:44:14 +0100 |
commit | 5a92b4f98ea08a25afadf16f1cebdd0f70c0c548 (patch) | |
tree | fa2611291447fef3e812f89c7b9d8e6ce5dc2971 /uitest | |
parent | 75103ef0141efe3002e42cd92b05fbff806cf6c4 (diff) |
uitest: work around race condition when starting multiple soffice instances
Change-Id: I45b57f6789a6156b7f70b39bac624bab55dc17ff
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/uitest/test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py index 4090a6062bc9..eb01911957ae 100644 --- a/uitest/uitest/test.py +++ b/uitest/uitest/test.py @@ -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) |