sw/qa/uitest/writer_tests7/forms.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4185c33788926efe5514cca3ce64a3a8a5d89eac
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Wed Nov 10 18:23:09 2021 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Nov 10 20:38:22 2021 +0100

    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 <xiscofa...@libreoffice.org>

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)

Reply via email to