summaryrefslogtreecommitdiff
path: root/uitest/demo_ui/tabdialog.py
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-11 01:44:00 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:02:16 +0200
commit8ee75350a9bd5e5b3d4183ef0168c717896f202a (patch)
tree8cfe467b997c539621860f5e6dd54b512644bfab /uitest/demo_ui/tabdialog.py
parent0c5abdea5fe40350df6234e71b70cab1f11764ac (diff)
uitest: close all the documents in the tests
Change-Id: I4ad9c2603edbf3ac6fc4db60481dc93c16ea63ff
Diffstat (limited to 'uitest/demo_ui/tabdialog.py')
-rw-r--r--uitest/demo_ui/tabdialog.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/uitest/demo_ui/tabdialog.py b/uitest/demo_ui/tabdialog.py
index 9a6f720244c0..09bf600424cf 100644
--- a/uitest/demo_ui/tabdialog.py
+++ b/uitest/demo_ui/tabdialog.py
@@ -26,6 +26,9 @@ def select_tab_page_pos(xContext):
propsUNO = mkPropertyValues(props)
xCellsDlg.executeAction("SELECT", propsUNO)
+ xOkBtn = xCellsDlg.getChild("ok")
+ xOkBtn.executeAction("CLICK", tuple())
+
ui_test.close_doc()
def select_tab_page_name(xContext):
@@ -43,6 +46,9 @@ def select_tab_page_name(xContext):
propsUNO = mkPropertyValues(props)
xCellsDlg.executeAction("SELECT", propsUNO)
+ xOkBtn = xCellsDlg.getChild("ok")
+ xOkBtn.executeAction("CLICK", tuple())
+
ui_test.close_doc()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */