summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-06-04 15:58:11 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-06-04 17:56:02 +0200
commit5ffcf2fa69aa6c79b07b1cf04c8cf6c85c5f6b83 (patch)
tree8dffff0dae3fcef7d1eeb615aedafd2ff2ef8ad2 /sc
parent2a06d2ebd09ba0c8bf2e29d5c4060ce415964f86 (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/uitest/calc_tests9/tdf142395.py3
1 files changed, 2 insertions, 1 deletions
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()