summaryrefslogtreecommitdiff
path: root/uitest/calc_tests/create_range_name.py
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-14 00:45:12 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-18 04:48:40 +0000
commit7ec0500e20cf273d70c4fbddb4063b8f8295307c (patch)
treecfb542ae37005ce03f88b1c96977095044e213ce /uitest/calc_tests/create_range_name.py
parent19d52e56a4581bb12bc271765feec7b8ab78c45b (diff)
use special method to close dialog through button click
Change-Id: Id884cc75503cb433742f9316d9647cff801565f7 Reviewed-on: https://gerrit.libreoffice.org/34230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'uitest/calc_tests/create_range_name.py')
-rw-r--r--uitest/calc_tests/create_range_name.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/calc_tests/create_range_name.py b/uitest/calc_tests/create_range_name.py
index 1ab7805bf970..1babca7c0a58 100644
--- a/uitest/calc_tests/create_range_name.py
+++ b/uitest/calc_tests/create_range_name.py
@@ -24,7 +24,7 @@ class CreateRangeNameTest(UITestCase):
type_text(xEdit, "simpleRangeName")
xAddBtn = xAddNameDlg.getChild("add")
- xAddBtn.executeAction("CLICK", tuple())
+ self.ui_test.close_dialog_through_button(xAddBtn)
self.ui_test.close_doc()
@@ -43,7 +43,7 @@ class CreateRangeNameTest(UITestCase):
select_pos(xScope, "1")
xAddBtn = xAddNameDlg.getChild("add")
- xAddBtn.executeAction("CLICK", tuple())
+ self.ui_test.close_dialog_through_button(xAddBtn)
self.ui_test.close_doc()