summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorZdeněk Crhonek <zcrhonek@gmail.com>2018-11-12 17:17:58 +0100
committerZdenek Crhonek <zcrhonek@gmail.com>2018-11-12 18:23:13 +0100
commiteb9a223151a00d11ed89a42465663b6e5cd75bd9 (patch)
treea1229597bd5ae4183afa3eef5cd4fd1b8d958c07 /sc/qa
parentbc63974e9d82a6ff7954618add266f967fa428eb (diff)
uitest cleaning 01
Change-Id: Iae30d2bef4bba232d5e5a042d1c736e36496ce1c Reviewed-on: https://gerrit.libreoffice.org/63298 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/uitest/statistics/exponentialSmoothing.py3
-rw-r--r--sc/qa/uitest/statistics/sampling.py2
2 files changed, 1 insertions, 4 deletions
diff --git a/sc/qa/uitest/statistics/exponentialSmoothing.py b/sc/qa/uitest/statistics/exponentialSmoothing.py
index 83ff5a9f76fc..aac281d22af8 100644
--- a/sc/qa/uitest/statistics/exponentialSmoothing.py
+++ b/sc/qa/uitest/statistics/exponentialSmoothing.py
@@ -21,7 +21,6 @@ class exponentialSmoothing(UITestCase):
gridwin = xCalcDoc.getChild("grid_window")
document = self.ui_test.get_component()
#fill data
- sleep(30)
enter_text_to_cell(gridwin, "A1", "1")
enter_text_to_cell(gridwin, "A2", "0")
enter_text_to_cell(gridwin, "A3", "0")
@@ -181,4 +180,4 @@ class exponentialSmoothing(UITestCase):
self.assertEqual(get_cell_by_position(document, 0, 5, 0).getString(), "")
self.ui_test.close_doc()
-# vim: set shiftwidth=4 softtabstop=4 expandtab: \ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/statistics/sampling.py b/sc/qa/uitest/statistics/sampling.py
index cf084b50dde4..da69e03ae864 100644
--- a/sc/qa/uitest/statistics/sampling.py
+++ b/sc/qa/uitest/statistics/sampling.py
@@ -71,10 +71,8 @@ class sampling(UITestCase):
xperiodspin.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"}))
xperiodspin.executeAction("TYPE", mkPropertyValues({"KEYCODE":"BACKSPACE"}))
xperiodspin.executeAction("TYPE", mkPropertyValues({"TEXT":"2"}))
- sleep(5)
xOKBtn = xDialog.getChild("ok")
self.ui_test.close_dialog_through_button(xOKBtn)
- sleep(5)
#Verify
self.assertEqual(get_cell_by_position(document, 0, 5, 0).getValue(), 12)
self.assertEqual(get_cell_by_position(document, 0, 5, 1).getValue() , 14)