diff options
Diffstat (limited to 'sc/qa/uitest/autofilter/autofilter.py')
-rw-r--r-- | sc/qa/uitest/autofilter/autofilter.py | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/sc/qa/uitest/autofilter/autofilter.py b/sc/qa/uitest/autofilter/autofilter.py index f892d2f901a8..8f6db292230e 100644 --- a/sc/qa/uitest/autofilter/autofilter.py +++ b/sc/qa/uitest/autofilter/autofilter.py @@ -237,7 +237,8 @@ class AutofilterTest(UITestCase): xFloatWindow = self.xUITest.getFloatWindow() xCheckListMenu = xFloatWindow.getChild("FilterDropDown") xTreeList = xCheckListMenu.getChild("check_list_box") - self.assertEqual(5, len(xTreeList.getChildren())) + # since tdf#117267, we are showing the hidden filter rows as inactive elements (5 active + 3 inactive) + self.assertEqual(8, len(xTreeList.getChildren())) xOkBtn = xFloatWindow.getChild("cancel") xOkBtn.executeAction("CLICK", tuple()) @@ -245,7 +246,8 @@ class AutofilterTest(UITestCase): xFloatWindow = self.xUITest.getFloatWindow() xCheckListMenu = xFloatWindow.getChild("FilterDropDown") xTreeList = xCheckListMenu.getChild("check_list_box") - self.assertEqual(3, len(xTreeList.getChildren())) + # since tdf#117267, we are showing the hidden filter rows as inactive elements (3 active + 9 inactive) + self.assertEqual(12, len(xTreeList.getChildren())) xOkBtn = xFloatWindow.getChild("cancel") xOkBtn.executeAction("CLICK", tuple()) @@ -258,7 +260,8 @@ class AutofilterTest(UITestCase): xFloatWindow = self.xUITest.getFloatWindow() xCheckListMenu = xFloatWindow.getChild("FilterDropDown") xTreeList = xCheckListMenu.getChild("check_list_box") - self.assertEqual(9, len(xTreeList.getChildren())) + # since tdf#117267, we are showing the hidden filter rows as inactive elements (9 active + 3 inactive) + self.assertEqual(12, len(xTreeList.getChildren())) xOkBtn = xFloatWindow.getChild("cancel") xOkBtn.executeAction("CLICK", tuple()) @@ -279,7 +282,8 @@ class AutofilterTest(UITestCase): xFloatWindow = self.xUITest.getFloatWindow() xCheckListMenu = xFloatWindow.getChild("FilterDropDown") xTreeList = xCheckListMenu.getChild("check_list_box") - self.assertEqual(3, len(xTreeList.getChildren())) + # since tdf#117267, we are showing the hidden filter rows as inactive elements (3 active + 5 inactive) + self.assertEqual(8, len(xTreeList.getChildren())) xOkBtn = xFloatWindow.getChild("cancel") xOkBtn.executeAction("CLICK", tuple()) @@ -287,7 +291,8 @@ class AutofilterTest(UITestCase): xFloatWindow = self.xUITest.getFloatWindow() xCheckListMenu = xFloatWindow.getChild("FilterDropDown") xTreeList = xCheckListMenu.getChild("check_list_box") - self.assertEqual(4, len(xTreeList.getChildren())) + # since tdf#117267, we are showing the hidden filter rows as inactive elements (4 active + 8 inactive) + self.assertEqual(12, len(xTreeList.getChildren())) xOkBtn = xFloatWindow.getChild("cancel") xOkBtn.executeAction("CLICK", tuple()) @@ -300,7 +305,8 @@ class AutofilterTest(UITestCase): xFloatWindow = self.xUITest.getFloatWindow() xCheckListMenu = xFloatWindow.getChild("FilterDropDown") xTreeList = xCheckListMenu.getChild("check_list_box") - self.assertEqual(3, len(xTreeList.getChildren())) + # since tdf#117267, we are showing the hidden filter rows as inactive elements (3 active + 1 inactive) + self.assertEqual(4, len(xTreeList.getChildren())) xOkBtn = xFloatWindow.getChild("cancel") xOkBtn.executeAction("CLICK", tuple()) @@ -326,7 +332,8 @@ class AutofilterTest(UITestCase): xFloatWindow = self.xUITest.getFloatWindow() xCheckListMenu = xFloatWindow.getChild("FilterDropDown") xTreeList = xCheckListMenu.getChild("check_list_box") - self.assertEqual(2, len(xTreeList.getChildren())) + # since tdf#117267, we are showing the hidden filter rows as inactive elements (2 active + 1 inactive) + self.assertEqual(3, len(xTreeList.getChildren())) xOkBtn = xFloatWindow.getChild("cancel") xOkBtn.executeAction("CLICK", tuple()) |