diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-10 18:23:09 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-10 20:38:22 +0100 |
commit | 4185c33788926efe5514cca3ce64a3a8a5d89eac (patch) | |
tree | 653baf553bdf6e4d56ec91cb35c1c15f5ccba577 | |
parent | Update git submodules (diff) | |
download | core-4185c33788926efe5514cca3ce64a3a8a5d89eac.tar.gz core-4185c33788926efe5514cca3ce64a3a8a5d89eac.zip |
uitest: blind fix for UITest_writer_tests7 failed
Change-Id: Ib49d1ccaa6ca8c42c0ef9caa6ad9acaf41babc3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125007
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | sw/qa/uitest/writer_tests7/forms.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/uitest/writer_tests7/forms.py b/sw/qa/uitest/writer_tests7/forms.py index 0d5c26703ae4..f8a9ee9db124 100644 --- a/sw/qa/uitest/writer_tests7/forms.py +++ b/sw/qa/uitest/writer_tests7/forms.py @@ -158,6 +158,9 @@ class Forms(UITestCase): xDialog = self.xUITest.getTopFocusWindow() xDialog.getChild('numericfield-PositionY').executeAction("FOCUS", tuple()) + xToolkit = self.xContext.ServiceManager.createInstance('com.sun.star.awt.Toolkit') + xToolkit.processEventsToIdle() + # Without the fix in place, the size of the form wouldn't have changed self.assertEqual(20001, shape.getSize().Width) self.assertEqual(5001, shape.getSize().Height) |