summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-04-21 10:41:26 +0200
committerXisco Faulí <xiscofauli@libreoffice.org>2020-04-21 15:31:07 +0200
commitc65d94abaf15e8b9b1054bf1850188d683459805 (patch)
treefd47d29d6ba2c30265d8fd6738fa6f4e5ba38b90
parentb98eec284718e91d85cb0f4003e1fac7869e2185 (diff)
uitest: remove unneeded time.sleep
Change-Id: I618a17fb8347d1f935caaef54738299863ddbb49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92612 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
-rw-r--r--sc/qa/uitest/calc_dialogs/openDialogs.py3
-rw-r--r--uitest/demo_ui/char_dialog.py8
2 files changed, 2 insertions, 9 deletions
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)