UITest_writer_tests8: use wait_until_property_is_updated in test_tdf145158

According to https://bugs.documentfoundation.org/show_bug.cgi?id=145158#c20
the issue is still reproducible after
commit eb000710c5
Author: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Date:   Sun Jun 8 21:01:47 2025 +0200

    workaround timing issue in UITest_writer_tests8 test_tdf145158

Change-Id: If771cd1ab795b7ea6690ddd8f41c9d98bd13ce50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186301
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: René Engelhard <rene@debian.org>
This commit is contained in:
Xisco Fauli
2025-06-10 08:44:14 +02:00
parent 19c32b44fe
commit 7442c8463f
+1 -3
View File
@@ -22,9 +22,7 @@ class tdf145158(UITestCase):
xFontsize = xMainWindow.getChild("fontsizecombobox")
xToolkit = self.xContext.ServiceManager.createInstance('com.sun.star.awt.Toolkit')
xToolkit.waitUntilAllIdlesDispatched()
self.ui_test.wait_until_property_is_updated(xFontsize, "Text", "12 pt")
self.assertEqual("12 pt", get_state_as_dict(xFontsize)['Text'])
select_by_text(xFontsize, "10.5 pt")