summaryrefslogtreecommitdiffstats
path: root/uitest/demo_ui/listbox.py
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-05 12:44:06 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:02:09 +0200
commit350ab43d02d83621eb2d5091ca194676084e019b (patch)
tree68d3c65df1b2b7824269ee797a9f06295f43754e /uitest/demo_ui/listbox.py
parentuitest: add close_doc calls to all calc tests (diff)
downloadcore-350ab43d02d83621eb2d5091ca194676084e019b.tar.gz
core-350ab43d02d83621eb2d5091ca194676084e019b.zip
uitest: add close_doc to the demos
Change-Id: I4329d4b574e442e7bd30a2a5b4dab3f97a6d6403
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: */