From 350ab43d02d83621eb2d5091ca194676084e019b Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 5 May 2016 12:44:06 +0200 Subject: uitest: add close_doc to the demos Change-Id: I4329d4b574e442e7bd30a2a5b4dab3f97a6d6403 --- uitest/demo_ui/listbox.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'uitest/demo_ui/listbox.py') 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: */ -- cgit