diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-09-12 21:16:40 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-09-13 10:38:27 +0200 |
commit | f75bae7082322a2e79997d041ce5f8afd3910107 (patch) | |
tree | e4820226bf00e8b5726a737c568c52961ae1bce9 /sc/qa/uitest/statistics/zTest.py | |
parent | 714278ce47692d57965b06e8b83de632e6e97d2d (diff) |
uitest: combine execute_modeless_dialog_through_command methods
Change-Id: Idada1927f6b8b55133e1ff8c776a987699df1dc4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122012
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/qa/uitest/statistics/zTest.py')
-rw-r--r-- | sc/qa/uitest/statistics/zTest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/uitest/statistics/zTest.py b/sc/qa/uitest/statistics/zTest.py index d3cfe40d4a59..e4f5afe7a585 100644 --- a/sc/qa/uitest/statistics/zTest.py +++ b/sc/qa/uitest/statistics/zTest.py @@ -49,7 +49,7 @@ class zTest(UITestCase): enter_text_to_cell(gridwin, "B13", "33") gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:B13"})) - with self.ui_test.execute_modeless_dialog_through_command_guarded(".uno:ZTestDialog") as xDialog: + with self.ui_test.execute_modeless_dialog_through_command(".uno:ZTestDialog") as xDialog: xvariable1rangeedit = xDialog.getChild("variable1-range-edit") xvariable2rangeedit = xDialog.getChild("variable2-range-edit") xoutputrangeedit = xDialog.getChild("output-range-edit") @@ -98,7 +98,7 @@ class zTest(UITestCase): self.assertEqual(get_cell_by_position(document, 0, 5, 0).getString(), "") # test cancel button - with self.ui_test.execute_modeless_dialog_through_command_guarded(".uno:ZTestDialog", close_button="cancel"): + with self.ui_test.execute_modeless_dialog_through_command(".uno:ZTestDialog", close_button="cancel"): pass # vim: set shiftwidth=4 softtabstop=4 expandtab: |