diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-09-05 15:47:27 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-09-06 07:59:38 +0200 |
commit | 0417fb9ccd5a5467107621b5ac5ba1edcda71c68 (patch) | |
tree | 7160522a5c0c2d839e76d0bfb0eec0ff1ea7e731 /sw | |
parent | 27c886f5aa8e53b22caf0ef9d721f60e77cd65f2 (diff) |
tdf#127372: PPTX: Shape's background transparency changes during RT
Need to use a better null value for FillTransparenceGradient.
Use black-black which has equal effect than having no transparency at all.
XFillFloatTransparenceItem has also an enabled attribute, but it
can not be accessed via the UNO API. We can acces only the gradient object,
so with a better null value we can check whether the API attribute is
actually set or not.
Change-Id: I480489f588376582f80d5062145b7f398ef61ad7
Reviewed-on: https://gerrit.libreoffice.org/78657
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/uitest/writer_tests2/formatParagraph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/uitest/writer_tests2/formatParagraph.py b/sw/qa/uitest/writer_tests2/formatParagraph.py index e0280d42af46..cd07db9a12a5 100644 --- a/sw/qa/uitest/writer_tests2/formatParagraph.py +++ b/sw/qa/uitest/writer_tests2/formatParagraph.py @@ -654,7 +654,7 @@ class formatParagraph(UITestCase): xAngle.executeAction("UP", tuple()) xBorder.executeAction("UP", tuple()) xStart.executeAction("UP", tuple()) - xEnd.executeAction("DOWN", tuple()) + xEnd.executeAction("UP", tuple()) xOK = xDialog.getChild("ok") xOK.executeAction("CLICK", tuple()) @@ -676,7 +676,7 @@ class formatParagraph(UITestCase): 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"], "99%") + self.assertEqual(get_state_as_dict(xEnd)["Text"], "1%") xCanc = xDialog.getChild("cancel") self.ui_test.close_dialog_through_button(xCanc) |