summaryrefslogtreecommitdiff
path: root/uitest/demo_ui/edit.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/edit.py
parent5bb5a9dacb84ec14f7148a5a5d9ba38b7e9f1039 (diff)
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/edit.py')
-rw-r--r--uitest/demo_ui/edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/demo_ui/edit.py b/uitest/demo_ui/edit.py
index 5eff4e0fad90..135a72447ea7 100644
--- a/uitest/demo_ui/edit.py
+++ b/uitest/demo_ui/edit.py
@@ -24,7 +24,7 @@ class EditTest(UITestCase):
type_text(xEdit, "simpleRangeName")
xAddBtn = xAddNameDlg.getChild("cancel")
- xAddBtn.executeAction("CLICK", tuple())
+ self.ui_test.close_dialog_through_button(xAddBtn)
self.ui_test.close_doc()