summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-27 14:07:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-27 18:10:48 +0100
commit99d2ee15ad6fae7073a53f7df8868300328a36e7 (patch)
treeaa74466e6a175a995209fecea3b5c7cb58afe9f3 /uitest
parent1e396675d81b740a6c04afed58eed6468e5c249a (diff)
blind fix for UITest_impress_demo failures
Change-Id: Ia26c5a15fa4487c68cf6d4bc2aee41a3ded7f6a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125941 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/uitest/uihelper/common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/uitest/uitest/uihelper/common.py b/uitest/uitest/uihelper/common.py
index 2c0cd67a2152..c1269038e523 100644
--- a/uitest/uitest/uihelper/common.py
+++ b/uitest/uitest/uihelper/common.py
@@ -57,4 +57,7 @@ def change_measurement_unit(UITestCase, unit):
xApplyBtn.executeAction("CLICK", tuple())
UITestCase.assertEqual(unit, get_state_as_dict(xUnit)['SelectEntryText'])
+ xToolkit = UITestCase.xContext.ServiceManager.createInstance('com.sun.star.awt.Toolkit')
+ xToolkit.processEventsToIdle()
+
# vim: set shiftwidth=4 softtabstop=4 expandtab: