summaryrefslogtreecommitdiff
path: root/uitest/calc_tests
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-01 11:45:08 +0300
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:02:07 +0200
commit51fcf95fdfa09f4739eb37ec69e029741aaf5da4 (patch)
tree009eb5e9ffd2aa1c840e6ae5378b565ff5d8c0c8 /uitest/calc_tests
parent5f21a01311aaf2608d0b5ad3ab887730463c1f39 (diff)
uitest: use the close_doc call in the calc demo
Change-Id: I8750e6fdbd0fb953795ebcd764184cbc23b6f65c
Diffstat (limited to 'uitest/calc_tests')
-rw-r--r--uitest/calc_tests/about_test.py2
-rw-r--r--uitest/calc_tests/create_range_name.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/uitest/calc_tests/about_test.py b/uitest/calc_tests/about_test.py
index 976651822836..b5120841e1e8 100644
--- a/uitest/calc_tests/about_test.py
+++ b/uitest/calc_tests/about_test.py
@@ -24,4 +24,6 @@ def test_about_dlg(xContext):
xCloseBtn = xAboutDlg.getChild("close")
xCloseBtn.executeAction("CLICK", tuple())
+ ui_test.close_doc()
+
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uitest/calc_tests/create_range_name.py b/uitest/calc_tests/create_range_name.py
index 590078887339..898014f56306 100644
--- a/uitest/calc_tests/create_range_name.py
+++ b/uitest/calc_tests/create_range_name.py
@@ -39,6 +39,8 @@ def create_range_name(xContext):
xAddBtn = xAddNameDlg.getChild("add")
xAddBtn.executeAction("CLICK", tuple())
+ ui_test.close_doc()
+
def create_local_range_name(xContext):
xUITest = xContext.ServiceManager.createInstanceWithContext(
"org.libreoffice.uitest.UITest", xContext)