summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()