summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-06-29 11:44:54 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-06-29 15:10:03 +0200
commit5b8a13486d3809066e663549879c209992d5479d (patch)
tree8c2701d8827e24eb7f36eb707c20905c41653485 /svx
parentd0172f785a5973dbe5ea585eabfa7a4671b38775 (diff)
uitest: combine execute_dialog_through_command methods
Change-Id: Iaa03d37a9ac3862b8cb08a81e37a611632433880 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118077 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r--svx/qa/uitest/table/tablecontroller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/qa/uitest/table/tablecontroller.py b/svx/qa/uitest/table/tablecontroller.py
index 1b6989f039dd..20a88ddf8268 100644
--- a/svx/qa/uitest/table/tablecontroller.py
+++ b/svx/qa/uitest/table/tablecontroller.py
@@ -22,7 +22,7 @@ class SvxTableControllerTest(UITestCase):
self.xUITest.executeCommand(".uno:InsertTable?Columns:short=2&Rows:short=2")
# Enable shadow.
- with self.ui_test.execute_dialog_through_command_guarded(".uno:TableDialog") as tableDialog:
+ with self.ui_test.execute_dialog_through_command(".uno:TableDialog") as tableDialog:
tabs = tableDialog.getChild("tabcontrol")
# Select "shadow".
select_pos(tabs, "4")
@@ -59,7 +59,7 @@ class SvxTableControllerTest(UITestCase):
impress.executeAction("TYPE", mkPropertyValues({"KEYCODE": "CTRL+TAB"}))
impress.executeAction("TYPE", mkPropertyValues({"TEXT": "A3"}))
self.xUITest.executeCommand(".uno:SelectAll")
- with self.ui_test.execute_dialog_through_command_guarded(".uno:TableDialog") as tableDialog:
+ with self.ui_test.execute_dialog_through_command(".uno:TableDialog") as tableDialog:
tabs = tableDialog.getChild("tabcontrol")
# Select "shadow".
select_pos(tabs, "4")