[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sc/qa

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 11 07:05:06 UTC 2020


 sc/qa/uitest/chart/chartArea.py  |    6 +++---
 sc/qa/uitest/chart/chartWall.py  |    6 +++---
 sc/qa/uitest/chart/chartXAxis.py |    4 ++--
 sc/qa/uitest/chart/chartYAxis.py |    2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 2ca73fa59f5645c627f2fe1e38d380b4b56dad0d
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Jun 11 08:58:58 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Jun 11 09:04:32 2020 +0200

    These adjustments use a step increment of 5 in this branch for some reason
    
    Change-Id: I335c7c61c6dd6c0eb6ca6e75878f566c2ffc067b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96081
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/sc/qa/uitest/chart/chartArea.py b/sc/qa/uitest/chart/chartArea.py
index f04084f33f53..0124f2bcc978 100644
--- a/sc/qa/uitest/chart/chartArea.py
+++ b/sc/qa/uitest/chart/chartArea.py
@@ -128,7 +128,7 @@ class chartArea(UITestCase):
     #change tab "Transparency"
     select_pos(tabcontrol, "2")
     transparency = xDialog.getChild("RBT_TRANS_LINEAR")
-    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #51%
+    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #55%
 
     transparency.executeAction("CLICK", tuple())
     transparencyPercent.executeAction("UP", tuple())
@@ -149,10 +149,10 @@ class chartArea(UITestCase):
     select_pos(tabcontrol, "2")
 
     transparency = xDialog.getChild("RBT_TRANS_LINEAR")
-    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #51%
+    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #55%
 
     self.assertEqual(get_state_as_dict(transparency)["Checked"], "true")
-    self.assertEqual(get_state_as_dict(transparencyPercent)["Text"], "51%")
+    self.assertEqual(get_state_as_dict(transparencyPercent)["Text"], "55%")
 
     xOKBtn = xDialog.getChild("ok")
     self.ui_test.close_dialog_through_button(xOKBtn)
diff --git a/sc/qa/uitest/chart/chartWall.py b/sc/qa/uitest/chart/chartWall.py
index 29452bf98238..1e79b42645cd 100644
--- a/sc/qa/uitest/chart/chartWall.py
+++ b/sc/qa/uitest/chart/chartWall.py
@@ -130,7 +130,7 @@ class chartWall(UITestCase):
     #change tab "Transparency"
     select_pos(tabcontrol, "2")
     transparency = xDialog.getChild("RBT_TRANS_LINEAR")
-    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #51%
+    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #55%
 
     transparency.executeAction("CLICK", tuple())
     transparencyPercent.executeAction("UP", tuple())
@@ -151,10 +151,10 @@ class chartWall(UITestCase):
     select_pos(tabcontrol, "2")
 
     transparency = xDialog.getChild("RBT_TRANS_LINEAR")
-    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #51%
+    transparencyPercent = xDialog.getChild("MTR_TRANSPARENT")  #55%
 
     self.assertEqual(get_state_as_dict(transparency)["Checked"], "true")
-    self.assertEqual(get_state_as_dict(transparencyPercent)["Text"], "51%")
+    self.assertEqual(get_state_as_dict(transparencyPercent)["Text"], "55%")
 
     xOKBtn = xDialog.getChild("ok")
     self.ui_test.close_dialog_through_button(xOKBtn)
diff --git a/sc/qa/uitest/chart/chartXAxis.py b/sc/qa/uitest/chart/chartXAxis.py
index f49302f223f7..8eaba032245b 100644
--- a/sc/qa/uitest/chart/chartXAxis.py
+++ b/sc/qa/uitest/chart/chartXAxis.py
@@ -110,7 +110,7 @@ class chartXAxis(UITestCase):
     self.assertEqual(get_state_as_dict(minimum)["Text"], "10.12.2017")
     self.assertEqual(get_state_as_dict(maximum)["Text"], "29.04.2018")
     self.assertEqual(get_state_as_dict(major)["Text"], "19")
-    self.assertEqual(get_state_as_dict(minor)["Text"], "3")
+    self.assertEqual(get_state_as_dict(minor)["Text"], "5")
 
     #Click on tab "positioning".
     tabcontrol = xDialog.getChild("tabcontrol")
@@ -201,7 +201,7 @@ class chartXAxis(UITestCase):
     placeMarks = xDialog.getChild("LB_PLACE_TICKS")
 
     self.assertEqual(get_state_as_dict(crossAxis)["SelectEntryText"], "Value")
-    self.assertEqual(get_state_as_dict(crossAxisValue)["Text"], "1")
+    self.assertEqual(get_state_as_dict(crossAxisValue)["Text"], "5")
     self.assertEqual(get_state_as_dict(placeLabels)["SelectEntryText"], "Outside end")
     self.assertEqual(get_state_as_dict(innerMajorTick)["Selected"], "true")
     self.assertEqual(get_state_as_dict(outerMajorTick)["Selected"], "false")
diff --git a/sc/qa/uitest/chart/chartYAxis.py b/sc/qa/uitest/chart/chartYAxis.py
index 2a14d15a9f4c..6bd0fe8451a2 100644
--- a/sc/qa/uitest/chart/chartYAxis.py
+++ b/sc/qa/uitest/chart/chartYAxis.py
@@ -111,7 +111,7 @@ class chartYAxis(UITestCase):
     self.assertEqual(get_state_as_dict(minimum)["Text"], "1")
     self.assertEqual(get_state_as_dict(maximum)["Text"], "17")
     self.assertEqual(get_state_as_dict(major)["Text"], "1")
-    self.assertEqual(get_state_as_dict(minor)["Text"], "3")
+    self.assertEqual(get_state_as_dict(minor)["Text"], "5")
 
     #Click on tab "positioning".
     tabcontrol = xDialog.getChild("tabcontrol")


More information about the Libreoffice-commits mailing list