[Libreoffice-commits] core.git: sc/qa

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 23 21:29:16 UTC 2021


 sc/qa/uitest/calc_tests9/tdf142395.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 6805efdecb240fad8c82a5c1756a2a0e92f12b7d
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Jun 23 09:59:26 2021 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jun 23 23:28:15 2021 +0200

    uitest: blind fix for failure in slow machines
    
    Change-Id: Iea1648d34f1aa169ca01e7f523c480c8f795de88
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117695
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sc/qa/uitest/calc_tests9/tdf142395.py b/sc/qa/uitest/calc_tests9/tdf142395.py
index 257d54682522..874313afecf9 100644
--- a/sc/qa/uitest/calc_tests9/tdf142395.py
+++ b/sc/qa/uitest/calc_tests9/tdf142395.py
@@ -23,13 +23,12 @@ class Tdf142395(UITestCase):
         xOpenBtn = xOpenDialog.getChild("open")
         xOpenBtn.executeAction("CLICK", tuple())
 
-        xDialog = self.xUITest.getTopFocusWindow()
-
         # Remove the text delimiter
-        xTextDelimiter = xDialog.getChild("textdelimiter")
+        xTextDelimiter = self.ui_test.wait_until_child_is_available('textdelimiter')
         xTextDelimiter.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"}))
         xTextDelimiter.executeAction("TYPE", mkPropertyValues({"KEYCODE":"BACKSPACE"}))
 
+        xDialog = self.xUITest.getTopFocusWindow()
         xOK = xDialog.getChild('ok')
         with self.ui_test.wait_until_component_loaded():
             self.ui_test.close_dialog_through_button(xOK)


More information about the Libreoffice-commits mailing list