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

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


 sw/qa/uitest/writer_tests2/formatParagraph.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 8df9ccf662bff4c359d2929295bbfea29604bb24
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Jun 11 08:12:09 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Jun 11 07:25:20 2020 +0200

    These adjustments use a step increment of 5% in this branch
    
    Adjust UI test accordingly.
    
    Change-Id: I1c27511a32442c94e0c7b3f342a65b88cd034a90
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96079
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/sw/qa/uitest/writer_tests2/formatParagraph.py b/sw/qa/uitest/writer_tests2/formatParagraph.py
index cd07db9a12a5..4c5bd083d518 100644
--- a/sw/qa/uitest/writer_tests2/formatParagraph.py
+++ b/sw/qa/uitest/writer_tests2/formatParagraph.py
@@ -630,7 +630,7 @@ class formatParagraph(UITestCase):
         xTranText = xDialog.getChild("MTR_TRANSPARENT")
 
         self.assertEqual(get_state_as_dict(xTran)["Checked"], "true")
-        self.assertEqual(get_state_as_dict(xTranText)["Text"], "51%")
+        self.assertEqual(get_state_as_dict(xTranText)["Text"], "55%")
 
         xCanc = xDialog.getChild("cancel")
         self.ui_test.close_dialog_through_button(xCanc)
@@ -674,9 +674,9 @@ class formatParagraph(UITestCase):
         self.assertEqual(get_state_as_dict(xGradient)["Checked"], "true")
         self.assertEqual(get_state_as_dict(xType)["SelectEntryText"], "Axial")
         self.assertEqual(get_state_as_dict(xAngle)["Text"], "1°")
-        self.assertEqual(get_state_as_dict(xBorder)["Text"], "1%")
-        self.assertEqual(get_state_as_dict(xStart)["Text"], "1%")
-        self.assertEqual(get_state_as_dict(xEnd)["Text"], "1%")
+        self.assertEqual(get_state_as_dict(xBorder)["Text"], "5%")
+        self.assertEqual(get_state_as_dict(xStart)["Text"], "5%")
+        self.assertEqual(get_state_as_dict(xEnd)["Text"], "5%")
 
         xCanc = xDialog.getChild("cancel")
         self.ui_test.close_dialog_through_button(xCanc)


More information about the Libreoffice-commits mailing list