diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2024-06-04 09:48:21 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2024-06-04 13:55:44 +0200 |
commit | 199ffecd9586d3a8c3365bdbc979c93600f25899 (patch) | |
tree | ce3a78708a47df7fa0dc4ae399f64dafcfbd2c86 /sc/qa/uitest | |
parent | 31490e9bd93bfd622ddda79e927114b3fafba6c1 (diff) |
Resolves tdf#161395 - Rename Whole Number to Integer
Change-Id: Id4cce115823781e5f2a4870d38d1f456cdf417a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168395
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc/qa/uitest')
-rw-r--r-- | sc/qa/uitest/validity/tdf138134.py | 4 | ||||
-rw-r--r-- | sc/qa/uitest/validity/tdf150098.py | 4 | ||||
-rw-r--r-- | sc/qa/uitest/validity/validity.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sc/qa/uitest/validity/tdf138134.py b/sc/qa/uitest/validity/tdf138134.py index b13da491eb40..5d5023a50519 100644 --- a/sc/qa/uitest/validity/tdf138134.py +++ b/sc/qa/uitest/validity/tdf138134.py @@ -25,7 +25,7 @@ class DetectiveCircle(UITestCase): #Select the cells to be validated gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A3"})) - #Apply Data > Validity ... > Whole Numbers + #Apply Data > Validity ... > Integer with self.ui_test.execute_dialog_through_command(".uno:Validation") as xDialog: xTabs = xDialog.getChild("tabcontrol") select_pos(xTabs, "0") @@ -34,7 +34,7 @@ class DetectiveCircle(UITestCase): xdata = xDialog.getChild("data") xmin = xDialog.getChild("min") - select_by_text(xallow, "Whole Numbers") + select_by_text(xallow, "Integer") xallowempty.executeAction("CLICK", tuple()) select_by_text(xdata, "equal") xmin.executeAction("TYPE", mkPropertyValues({"TEXT":"5"})) diff --git a/sc/qa/uitest/validity/tdf150098.py b/sc/qa/uitest/validity/tdf150098.py index 5d29a4afaadf..91384fc61ece 100644 --- a/sc/qa/uitest/validity/tdf150098.py +++ b/sc/qa/uitest/validity/tdf150098.py @@ -26,7 +26,7 @@ class EvaluateFormulaInputs(UITestCase): #Select the cells to be validated gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A4"})) - #Apply Data > Validity ... > Whole Numbers + #Apply Data > Validity ... > Integer with self.ui_test.execute_dialog_through_command(".uno:Validation") as xDialog: xTabs = xDialog.getChild("tabcontrol") select_pos(xTabs, "0") @@ -35,7 +35,7 @@ class EvaluateFormulaInputs(UITestCase): xdata = xDialog.getChild("data") xmin = xDialog.getChild("min") - select_by_text(xallow, "Whole Numbers") + select_by_text(xallow, "Integer") xallowempty.executeAction("CLICK", tuple()) select_by_text(xdata, "equal") xmin.executeAction("TYPE", mkPropertyValues({"TEXT":"A3"})) diff --git a/sc/qa/uitest/validity/validity.py b/sc/qa/uitest/validity/validity.py index 3112b7afb91e..158b3905eaba 100644 --- a/sc/qa/uitest/validity/validity.py +++ b/sc/qa/uitest/validity/validity.py @@ -29,7 +29,7 @@ class validity(UITestCase): xmin = xDialog.getChild("min") xmax = xDialog.getChild("max") - select_by_text(xallow, "Whole Numbers") + select_by_text(xallow, "Integer") xallowempty.executeAction("CLICK", tuple()) select_by_text(xdata, "valid range") xmin.executeAction("TYPE", mkPropertyValues({"TEXT":"1"})) @@ -42,7 +42,7 @@ class validity(UITestCase): xmin = xDialog.getChild("min") xmax = xDialog.getChild("max") - self.assertEqual(get_state_as_dict(xallow)["SelectEntryText"], "Whole Numbers") + self.assertEqual(get_state_as_dict(xallow)["SelectEntryText"], "Integer") self.assertEqual(get_state_as_dict(xallowempty)["Selected"], "false") self.assertEqual(get_state_as_dict(xdata)["SelectEntryText"], "valid range") self.assertEqual(get_state_as_dict(xmin)["Text"], "1") |