summaryrefslogtreecommitdiffstats
path: root/uitest/demo_ui/listbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/demo_ui/listbox.py')
-rw-r--r--uitest/demo_ui/listbox.py4
1 files changed, 4 insertions, 0 deletions
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: */