diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-06-29 11:44:54 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-06-29 15:10:03 +0200 |
commit | 5b8a13486d3809066e663549879c209992d5479d (patch) | |
tree | 8c2701d8827e24eb7f36eb707c20905c41653485 /uitest/demo_ui/spinfield.py | |
parent | d0172f785a5973dbe5ea585eabfa7a4671b38775 (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 'uitest/demo_ui/spinfield.py')
-rw-r--r-- | uitest/demo_ui/spinfield.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/demo_ui/spinfield.py b/uitest/demo_ui/spinfield.py index a0e983ea81b6..d29ce33141ab 100644 --- a/uitest/demo_ui/spinfield.py +++ b/uitest/demo_ui/spinfield.py @@ -16,7 +16,7 @@ class SpinFieldTest(UITestCase): self.ui_test.create_doc_in_start_center("calc") - with self.ui_test.execute_dialog_through_command_guarded(".uno:FormatCellDialog") as xCellsDlg: + with self.ui_test.execute_dialog_through_command(".uno:FormatCellDialog") as xCellsDlg: xDecimalPlaces = xCellsDlg.getChild("leadzerosed") xDecimalPlaces.executeAction("UP", tuple()) @@ -31,7 +31,7 @@ class SpinFieldTest(UITestCase): self.ui_test.create_doc_in_start_center("calc") - with self.ui_test.execute_dialog_through_command_guarded(".uno:FormatCellDialog") as xCellsDlg: + with self.ui_test.execute_dialog_through_command(".uno:FormatCellDialog") as xCellsDlg: xDecimalPlaces = xCellsDlg.getChild("leadzerosed") xDecimalPlaces.executeAction("UP", tuple()) @@ -52,7 +52,7 @@ class SpinFieldTest(UITestCase): self.ui_test.create_doc_in_start_center("calc") - with self.ui_test.execute_dialog_through_command_guarded(".uno:FormatCellDialog") as xCellsDlg: + with self.ui_test.execute_dialog_through_command(".uno:FormatCellDialog") as xCellsDlg: xDecimalPlaces = xCellsDlg.getChild("leadzerosed") type_text(xDecimalPlaces, "4") |