diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-06-23 09:59:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-06-23 23:28:15 +0200 |
commit | 6805efdecb240fad8c82a5c1756a2a0e92f12b7d (patch) | |
tree | 949453f6bd5c7a53079251e2692f5bb497894bcf /sc/qa/uitest | |
parent | 39605d175bc0fe52c904d4b41a184d7e2691f2dc (diff) |
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@redhat.com>
Diffstat (limited to 'sc/qa/uitest')
-rw-r--r-- | sc/qa/uitest/calc_tests9/tdf142395.py | 5 |
1 files changed, 2 insertions, 3 deletions
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) |