diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-06-30 12:09:34 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-06-30 15:26:57 +0200 |
commit | a564bb70ad6c19b28c553625f4781655adb80702 (patch) | |
tree | 9a4be5c7a79d29471fa1076ba6563440587b0fec /sc/qa/uitest/range_name | |
parent | 95b06d3aa514ce83f82fd538d1731fc6363e4b8a (diff) |
uitest: combine create_doc_in_start_center methods
Change-Id: I59ea0d0dbd203590e7cedec51d0481c953e5172b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118155
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/qa/uitest/range_name')
-rw-r--r-- | sc/qa/uitest/range_name/create_range_name.py | 6 | ||||
-rw-r--r-- | sc/qa/uitest/range_name/tdf137617.py | 2 | ||||
-rw-r--r-- | sc/qa/uitest/range_name/tdf138822.py | 2 | ||||
-rw-r--r-- | sc/qa/uitest/range_name/tdf86214.py | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/qa/uitest/range_name/create_range_name.py b/sc/qa/uitest/range_name/create_range_name.py index 14b4a1db3e43..8a7adfd6d236 100644 --- a/sc/qa/uitest/range_name/create_range_name.py +++ b/sc/qa/uitest/range_name/create_range_name.py @@ -17,7 +17,7 @@ class CreateRangeNameTest(UITestCase): def test_create_range_name(self): - with self.ui_test.create_doc_in_start_center_guarded("calc") as document: + with self.ui_test.create_doc_in_start_center("calc") as document: calcDoc = self.xUITest.getTopFocusWindow() xPosWindow = calcDoc.getChild('pos_window') @@ -38,7 +38,7 @@ class CreateRangeNameTest(UITestCase): def test_create_range_name_from_ui(self): - with self.ui_test.create_doc_in_start_center_guarded("calc") as document: + with self.ui_test.create_doc_in_start_center("calc") as document: calcDoc = self.xUITest.getTopFocusWindow() gridwin = calcDoc.getChild("grid_window") @@ -87,7 +87,7 @@ class CreateRangeNameTest(UITestCase): def test_create_local_range_name(self): - with self.ui_test.create_doc_in_start_center_guarded("calc") as document: + with self.ui_test.create_doc_in_start_center("calc") as document: calcDoc = self.xUITest.getTopFocusWindow() xPosWindow = calcDoc.getChild('pos_window') diff --git a/sc/qa/uitest/range_name/tdf137617.py b/sc/qa/uitest/range_name/tdf137617.py index 8e22158bb5a3..eebda229baf0 100644 --- a/sc/qa/uitest/range_name/tdf137617.py +++ b/sc/qa/uitest/range_name/tdf137617.py @@ -15,7 +15,7 @@ class tdf137617(UITestCase): def test_tdf137617(self): - with self.ui_test.create_doc_in_start_center_guarded("calc"): + with self.ui_test.create_doc_in_start_center("calc"): calcDoc = self.xUITest.getTopFocusWindow() gridwin = calcDoc.getChild("grid_window") diff --git a/sc/qa/uitest/range_name/tdf138822.py b/sc/qa/uitest/range_name/tdf138822.py index 7cb8f990ed1b..9fd53b58192c 100644 --- a/sc/qa/uitest/range_name/tdf138822.py +++ b/sc/qa/uitest/range_name/tdf138822.py @@ -11,7 +11,7 @@ from uitest.uihelper.common import type_text class tdf138822(UITestCase): def test_tdf138822(self): - with self.ui_test.create_doc_in_start_center_guarded("calc"): + with self.ui_test.create_doc_in_start_center("calc"): calcDoc = self.xUITest.getTopFocusWindow() xPosWindow = calcDoc.getChild('pos_window') diff --git a/sc/qa/uitest/range_name/tdf86214.py b/sc/qa/uitest/range_name/tdf86214.py index 6515ed74d97d..1f3caea47c01 100644 --- a/sc/qa/uitest/range_name/tdf86214.py +++ b/sc/qa/uitest/range_name/tdf86214.py @@ -15,7 +15,7 @@ class InvalidNames(UITestCase): def test_invalid_names(self): - with self.ui_test.create_doc_in_start_center_guarded("calc"): + with self.ui_test.create_doc_in_start_center("calc"): self.ui_test.execute_modeless_dialog_through_command(".uno:AddName") |