summaryrefslogtreecommitdiffstats
path: root/uitest/demo_ui/listbox.py
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-18 03:32:41 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-18 03:56:54 +0000
commit19d52e56a4581bb12bc271765feec7b8ab78c45b (patch)
treeda21aeaffb6c2dddd5634489c2699774abe3bbc9 /uitest/demo_ui/listbox.py
parentChartDumpTest: Build fix (diff)
downloadcore-19d52e56a4581bb12bc271765feec7b8ab78c45b.tar.gz
core-19d52e56a4581bb12bc271765feec7b8ab78c45b.zip
uitest: use the correct method to close a dialog through a button
Change-Id: I210c1d9a99a93b7a21478f679f440c270375bedc Reviewed-on: https://gerrit.libreoffice.org/34398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'uitest/demo_ui/listbox.py')
-rw-r--r--uitest/demo_ui/listbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/demo_ui/listbox.py b/uitest/demo_ui/listbox.py
index 15bd8ab133d9..780da1ff20b0 100644
--- a/uitest/demo_ui/listbox.py
+++ b/uitest/demo_ui/listbox.py
@@ -23,7 +23,7 @@ class ListBoxTest(UITestCase):
select_pos(categoryLB, "4")
xOkBtn = xCellsDlg.getChild("ok")
- xOkBtn.executeAction("CLICK", tuple())
+ self.ui_test.close_dialog_through_button(xOkBtn)
self.ui_test.close_doc()
@@ -41,7 +41,7 @@ class ListBoxTest(UITestCase):
categoryLB.executeAction("SELECT", actionProps)
xOkBtn = xCellsDlg.getChild("ok")
- xOkBtn.executeAction("CLICK", tuple())
+ self.ui_test.close_dialog_through_button(xOkBtn)
self.ui_test.close_doc()