Kaydet (Commit) eb9a2231 authored tarafından Zdeněk Crhonek's avatar Zdeněk Crhonek Kaydeden (comit) Zdenek Crhonek

uitest cleaning 01

Change-Id: Iae30d2bef4bba232d5e5a042d1c736e36496ce1c
Reviewed-on: https://gerrit.libreoffice.org/63298
Tested-by: Jenkins
Reviewed-by: 's avatarZdenek Crhonek <zcrhonek@gmail.com>
üst bc63974e
......@@ -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:
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment