uitest/uitest/uihelper/common.py | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 99d2ee15ad6fae7073a53f7df8868300328a36e7 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sat Nov 27 14:07:30 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Nov 27 18:10:48 2021 +0100 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.gran...@collabora.co.uk> 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: