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

New commits:
commit 5ffcf2fa69aa6c79b07b1cf04c8cf6c85c5f6b83
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Jun 4 15:58:11 2021 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Jun 4 17:56:02 2021 +0200

    uitest: one more fix for File Open dialog
    
    Similar to 4839b7ca3b5a730edf90ebebc749db145efec098
    <Fix UITests that use File Open dialog to load documents>
    
    Change-Id: Ia848ba8129c7e99dc8ea610033e5c22809db7b43
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116723
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/qa/uitest/calc_tests9/tdf142395.py 
b/sc/qa/uitest/calc_tests9/tdf142395.py
index a101b56dcc17..257d54682522 100644
--- a/sc/qa/uitest/calc_tests9/tdf142395.py
+++ b/sc/qa/uitest/calc_tests9/tdf142395.py
@@ -31,7 +31,8 @@ class Tdf142395(UITestCase):
         xTextDelimiter.executeAction("TYPE", 
mkPropertyValues({"KEYCODE":"BACKSPACE"}))
 
         xOK = xDialog.getChild('ok')
-        self.ui_test.close_dialog_through_button(xOK)
+        with self.ui_test.wait_until_component_loaded():
+            self.ui_test.close_dialog_through_button(xOK)
 
         document = self.ui_test.get_component()
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to