From 93d58279cd56fd026db4dfb68d04fc22edba1abc Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Thu, 13 Apr 2017 10:58:03 +0200 Subject: Related tdf#105922: step increment is a property of the shape not of the gradient. Therefore don't reset selection in the gradient list if step increment changes. This hopefully fixes also the failing UI test Change-Id: Ia3da23d80ee9601b40309a2f213bd3b2c850ff5a Reviewed-on: https://gerrit.libreoffice.org/36508 Tested-by: Jenkins Reviewed-by: Katarina Behrens --- uitest/writer_tests/backgrounds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uitest') diff --git a/uitest/writer_tests/backgrounds.py b/uitest/writer_tests/backgrounds.py index 0e9d6a592c26..da49a7526dc2 100644 --- a/uitest/writer_tests/backgrounds.py +++ b/uitest/writer_tests/backgrounds.py @@ -43,8 +43,8 @@ class WriterBackgrounds(UITestCase): document.StyleFamilies.PageStyles.Standard.FillGradient.StartIntensity, 100) self.assertEqual( document.StyleFamilies.PageStyles.Standard.FillGradient.EndIntensity, 100) - #self.assertEqual( - #document.StyleFamilies.PageStyles.Standard.FillGradientName, 'Tango Green') + self.assertEqual( + document.StyleFamilies.PageStyles.Standard.FillGradientName, 'Tango Green') elif btn == 'btnhatch': self.assertEqual( document.StyleFamilies.PageStyles.Standard.FillHatch.Style, SINGLE ) -- cgit