diff options
-rw-r--r-- | uitest/impress_tests/start.py | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/uitest/impress_tests/start.py b/uitest/impress_tests/start.py index cf3610af3ab0..6406ceb1a8f8 100644 --- a/uitest/impress_tests/start.py +++ b/uitest/impress_tests/start.py @@ -23,6 +23,8 @@ class SimpleImpressTest(UITestCase): xEditWin = xImpressDoc.getChild("impress_win") xEditWin.executeAction("SET", mkPropertyValues({"ZOOM": "200"})) + self.assertEqual(get_state_as_dict(xEditWin)["Zoom"], "200") + self.ui_test.close_doc() def test_select_page(self): @@ -49,36 +51,4 @@ class SimpleImpressTest(UITestCase): self.ui_test.close_doc() - def test_select_text(self): - - self.ui_test.create_doc_in_start_center("impress") - - xTemplateDlg = self.xUITest.getTopFocusWindow() - xCancelBtn = xTemplateDlg.getChild("cancel") - self.ui_test.close_dialog_through_button(xCancelBtn) - - xImpressDoc = self.xUITest.getTopFocusWindow() - - xEditWin = xImpressDoc.getChild("impress_win") - - self.ui_test.close_doc() - - def test_select_object(self): - - self.ui_test.create_doc_in_start_center("impress") - - xTemplateDlg = self.xUITest.getTopFocusWindow() - xCancelBtn = xTemplateDlg.getChild("cancel") - self.ui_test.close_dialog_through_button(xCancelBtn) - - xImpressDoc = self.xUITest.getTopFocusWindow() - print(xImpressDoc.getChildren()) - - xEditWin = xImpressDoc.getChild("impress_win") - - xEditWin.executeAction("SELECT", mkPropertyValues({"OBJECT":"Unnamed Drawinglayer object 1"})) - xEditWin.executeAction("DESELECT", tuple()) - - self.ui_test.close_doc() - # vim: set shiftwidth=4 softtabstop=4 expandtab: |