summaryrefslogtreecommitdiff
path: root/uitest/impress_tests
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-22 06:36:59 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-22 18:19:35 +0200
commit6da7ccfc2ac3382c896a679b98061fce4a6d6cf2 (patch)
tree40935cdb5ea8351557976ee52ea7a9a147da76f6 /uitest/impress_tests
parent18d64ed6b47c6a39ccef9cd704f135bae390d5a9 (diff)
uitest: remove sleeps and prints from impress and writer parts
Change-Id: Ic4c4ba74701303df1ff38c5ed6ed7d521b369053
Diffstat (limited to 'uitest/impress_tests')
-rw-r--r--uitest/impress_tests/start.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/uitest/impress_tests/start.py b/uitest/impress_tests/start.py
index 28a3c749987f..f82eb6373ba5 100644
--- a/uitest/impress_tests/start.py
+++ b/uitest/impress_tests/start.py
@@ -29,16 +29,10 @@ class SimpleImpressTest(UITestCase):
self.ui_test.create_doc_in_start_center("impress")
xImpressDoc = self.xUITest.getTopFocusWindow()
- print(get_state_as_dict(xImpressDoc))
- print(xImpressDoc.getChildren())
xEditWin = xImpressDoc.getChild("impress_win")
xEditWin.executeAction("SET", mkPropertyValues({"ZOOM": "200"}))
- print(xEditWin.getChildren())
-
- time.sleep(1)
-
self.ui_test.close_doc()
def test_select_page(self):
@@ -46,20 +40,11 @@ class SimpleImpressTest(UITestCase):
self.ui_test.create_doc_in_start_center("impress")
xImpressDoc = self.xUITest.getTopFocusWindow()
- print(get_state_as_dict(xImpressDoc))
- print(xImpressDoc.getChildren())
xEditWin = xImpressDoc.getChild("impress_win")
- time.sleep(1)
- print(get_state_as_dict(xEditWin))
-
xEditWin.executeAction("GOTO", mkPropertyValues({"PAGE": "2"}))
- time.sleep(1)
-
- print(get_state_as_dict(xEditWin))
-
self.ui_test.close_doc()
def test_select_text(self):
@@ -67,15 +52,9 @@ class SimpleImpressTest(UITestCase):
self.ui_test.create_doc_in_start_center("impress")
xImpressDoc = self.xUITest.getTopFocusWindow()
- print(get_state_as_dict(xImpressDoc))
- print(xImpressDoc.getChildren())
xEditWin = xImpressDoc.getChild("impress_win")
- time.sleep(1)
-
- print(get_state_as_dict(xEditWin))
-
self.ui_test.close_doc()
def test_select_object(self):
@@ -83,19 +62,12 @@ class SimpleImpressTest(UITestCase):
self.ui_test.create_doc_in_start_center("impress")
xImpressDoc = self.xUITest.getTopFocusWindow()
- print(get_state_as_dict(xImpressDoc))
- print(xImpressDoc.getChildren())
xEditWin = xImpressDoc.getChild("impress_win")
xEditWin.executeAction("SELECT", mkPropertyValues({"OBJECT":"Unnamed Drawinglayer object 1"}))
- time.sleep(1)
xEditWin.executeAction("DESELECT", tuple())
- time.sleep(1)
-
- print(get_state_as_dict(xEditWin))
-
self.ui_test.close_doc()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */