[Libreoffice-commits] core.git: sc/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Nov 12 17:23:35 UTC 2018


 sc/qa/uitest/statistics/exponentialSmoothing.py |    3 +--
 sc/qa/uitest/statistics/sampling.py             |    2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit eb9a223151a00d11ed89a42465663b6e5cd75bd9
Author:     Zdeněk Crhonek <zcrhonek at gmail.com>
AuthorDate: Mon Nov 12 17:17:58 2018 +0100
Commit:     Zdenek Crhonek <zcrhonek at gmail.com>
CommitDate: Mon Nov 12 18:23:13 2018 +0100

    uitest cleaning 01
    
    Change-Id: Iae30d2bef4bba232d5e5a042d1c736e36496ce1c
    Reviewed-on: https://gerrit.libreoffice.org/63298
    Tested-by: Jenkins
    Reviewed-by: Zdenek Crhonek <zcrhonek at gmail.com>

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)


More information about the Libreoffice-commits mailing list