sc/qa/uitest/calc_dialogs/openDialogs.py | 3 ++- uitest/demo_ui/char_dialog.py | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-)
New commits: commit c65d94abaf15e8b9b1054bf1850188d683459805 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Apr 21 10:41:26 2020 +0200 Commit: Xisco FaulĂ <xiscofa...@libreoffice.org> CommitDate: Tue Apr 21 15:31:07 2020 +0200 uitest: remove unneeded time.sleep Change-Id: I618a17fb8347d1f935caaef54738299863ddbb49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92612 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ <xiscofa...@libreoffice.org> diff --git a/sc/qa/uitest/calc_dialogs/openDialogs.py b/sc/qa/uitest/calc_dialogs/openDialogs.py index db37d38bc918..a3bb7fb249bf 100644 --- a/sc/qa/uitest/calc_dialogs/openDialogs.py +++ b/sc/qa/uitest/calc_dialogs/openDialogs.py @@ -36,7 +36,8 @@ dialogs = [ {"command": ".uno:FontworkGalleryFloater", "closeButton": "cancel"}, # {"command": ".uno:HyperlinkDialog", "closeButton": "ok"}, # dialog opens but is not recognised by execute_dialog_through_command - {"command": ".uno:InsertSymbol", "closeButton": "cancel"}, + #{"command": ".uno:InsertSymbol", "closeButton": "cancel"}, + # Tested in uitest/demo_ui/char_dialog.py {"command": ".uno:EditHeaderAndFooter", "closeButton": "cancel"}, # {"command": ".uno:InsertSignatureLine", "closeButton": "cancel"}, # tested in sc/qa/uitest/signatureLine/insertSignatureLine.py diff --git a/uitest/demo_ui/char_dialog.py b/uitest/demo_ui/char_dialog.py index d2b1fb001dc4..5dd0212ee719 100644 --- a/uitest/demo_ui/char_dialog.py +++ b/uitest/demo_ui/char_dialog.py @@ -6,11 +6,8 @@ # from libreoffice.uno.propertyvalue import mkPropertyValues - from uitest.framework import UITestCase -from uitest.debug import sleep - class CharDialogText(UITestCase): def test_select_char(self): @@ -18,16 +15,11 @@ class CharDialogText(UITestCase): self.ui_test.execute_dialog_through_command(".uno:InsertSymbol") xCharDialog = self.xUITest.getTopFocusWindow() - print(xCharDialog.getChildren()) - - sleep(5) xCharSet = xCharDialog.getChild("showcharset") xCharSet.executeAction("SELECT", mkPropertyValues({"COLUMN": "2", "ROW": "2"})) - sleep(5) - xCancelBtn = xCharDialog.getChild("cancel") self.ui_test.close_dialog_through_button(xCancelBtn) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits