sd/qa/uitest/impress_tests/tdf137637.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
New commits: commit 11800469cc7b3a40c42410be93a12e5107db0efb Author: Xisco Fauli <[email protected]> AuthorDate: Thu Nov 18 21:22:10 2021 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Nov 18 22:12:56 2021 +0100 uitest: sd: the redo action fails at times ... ... to add back the animation to the list in the sidebar, and thus the test fails. Remove it for now. At least the undo part of tdf#135033 is still tested Change-Id: I7dc416645db53ec3f08376d04de9be036ce53fdf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125505 Tested-by: Xisco Fauli <[email protected]> Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sd/qa/uitest/impress_tests/tdf137637.py b/sd/qa/uitest/impress_tests/tdf137637.py index 11e948eb654f..9b642bee5155 100644 --- a/sd/qa/uitest/impress_tests/tdf137637.py +++ b/sd/qa/uitest/impress_tests/tdf137637.py @@ -33,10 +33,12 @@ class Tdf137637(UITestCase): # AttributeError: 'NoneType' object has no attribute 'getImplementationName' self.assertEqual("com.sun.star.drawing.SvxShapeCollection", document.CurrentSelection.getImplementationName()) + xAnimationList = xImpressDoc.getChild("custom_animation_list") + self.assertEqual('0', get_state_as_dict(xAnimationList)['Children']) + xAddBtn = xImpressDoc.getChild("add_effect") xAddBtn.executeAction("CLICK", tuple()) - xAnimationList = xImpressDoc.getChild("custom_animation_list") self.assertEqual('1', get_state_as_dict(xAnimationList)['Children']) self.xUITest.executeCommand(".uno:Undo") @@ -45,7 +47,3 @@ class Tdf137637(UITestCase): # AssertionError: '0' != '1' self.assertEqual('0', get_state_as_dict(xAnimationList)['Children']) - self.xUITest.executeCommand(".uno:Redo") - - self.assertEqual('1', get_state_as_dict(xAnimationList)['Children']) -
