Kaydet (Commit) 8ee75350 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: close all the documents in the tests

Change-Id: I4ad9c2603edbf3ac6fc4db60481dc93c16ea63ff
üst 0c5abdea
......@@ -34,6 +34,9 @@ def toggle_checkbox(xContext):
xNegativeNumRedCB = xCellsDlg.getChild("negnumred")
xNegativeNumRedCB.executeAction("CLICK",tuple())
okBtn = xCellsDlg.getChild("ok")
okBtn.executeAction("CLICK", tuple())
ui_test.close_doc()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -25,6 +25,9 @@ def select_entry_pos(xContext):
actionProps = mkPropertyValues(props)
scopeCB.executeAction("SELECT", actionProps)
xCancelBtn = xAddNameDlg.getChild("cancel")
xCancelBtn.executeAction("CLICK", tuple())
ui_test.close_doc()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -39,8 +39,6 @@ def type_text(xContext):
xAddBtn = xAddNameDlg.getChild("cancel")
xAddBtn.executeAction("CLICK", tuple())
xUITest.executeCommand(".uno:CloseDoc")
ui_test.close_doc()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -25,6 +25,9 @@ def select_entry_pos(xContext):
actionProps = mkPropertyValues(props)
categoryLB.executeAction("SELECT", actionProps)
xOkBtn = xCellsDlg.getChild("ok")
xOkBtn.executeAction("CLICK", tuple())
ui_test.close_doc()
def select_entry_text(xContext):
......@@ -44,6 +47,9 @@ def select_entry_text(xContext):
actionProps = mkPropertyValues(props)
categoryLB.executeAction("SELECT", actionProps)
xOkBtn = xCellsDlg.getChild("ok")
xOkBtn.executeAction("CLICK", tuple())
ui_test.close_doc()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment