diff options
-rw-r--r-- | uitest/demo_ui/checkbox.py | 2 | ||||
-rw-r--r-- | uitest/demo_ui/combobox.py | 2 | ||||
-rw-r--r-- | uitest/demo_ui/edit.py | 1 | ||||
-rw-r--r-- | uitest/demo_ui/listbox.py | 4 | ||||
-rw-r--r-- | uitest/demo_ui/tabdialog.py | 5 |
5 files changed, 10 insertions, 4 deletions
diff --git a/uitest/demo_ui/checkbox.py b/uitest/demo_ui/checkbox.py index b85565251951..8a8bf08ee1da 100644 --- a/uitest/demo_ui/checkbox.py +++ b/uitest/demo_ui/checkbox.py @@ -34,4 +34,6 @@ def toggle_checkbox(xContext): xNegativeNumRedCB = xCellsDlg.getChild("negnumred") xNegativeNumRedCB.executeAction("CLICK",tuple()) + ui_test.close_doc() + # vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uitest/demo_ui/combobox.py b/uitest/demo_ui/combobox.py index 8cb7ac8a96fa..ba917bbbab12 100644 --- a/uitest/demo_ui/combobox.py +++ b/uitest/demo_ui/combobox.py @@ -25,4 +25,6 @@ def select_entry_pos(xContext): actionProps = mkPropertyValues(props) scopeCB.executeAction("SELECT", actionProps) + ui_test.close_doc() + # vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uitest/demo_ui/edit.py b/uitest/demo_ui/edit.py index dab55c52a7a0..2b44f202cbfa 100644 --- a/uitest/demo_ui/edit.py +++ b/uitest/demo_ui/edit.py @@ -43,5 +43,4 @@ def type_text(xContext): ui_test.close_doc() - # vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uitest/demo_ui/listbox.py b/uitest/demo_ui/listbox.py index 41c6e4d2191b..21b19d40ce7f 100644 --- a/uitest/demo_ui/listbox.py +++ b/uitest/demo_ui/listbox.py @@ -25,6 +25,8 @@ def select_entry_pos(xContext): actionProps = mkPropertyValues(props) categoryLB.executeAction("SELECT", actionProps) + ui_test.close_doc() + def select_entry_text(xContext): xUITest = xContext.ServiceManager.createInstanceWithContext( "org.libreoffice.uitest.UITest", xContext) @@ -42,4 +44,6 @@ def select_entry_text(xContext): actionProps = mkPropertyValues(props) categoryLB.executeAction("SELECT", actionProps) + ui_test.close_doc() + # vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uitest/demo_ui/tabdialog.py b/uitest/demo_ui/tabdialog.py index ef62bf917493..9a6f720244c0 100644 --- a/uitest/demo_ui/tabdialog.py +++ b/uitest/demo_ui/tabdialog.py @@ -26,7 +26,7 @@ def select_tab_page_pos(xContext): propsUNO = mkPropertyValues(props) xCellsDlg.executeAction("SELECT", propsUNO) - time.sleep(20) + ui_test.close_doc() def select_tab_page_name(xContext): xUITest = xContext.ServiceManager.createInstanceWithContext( @@ -43,7 +43,6 @@ def select_tab_page_name(xContext): propsUNO = mkPropertyValues(props) xCellsDlg.executeAction("SELECT", propsUNO) - time.sleep(20) - + ui_test.close_doc() # vim:set shiftwidth=4 softtabstop=4 expandtab: */ |