disable more flakey navigator UITest
Change-Id: Icf6a28f1270fc95a4edfc81a06fc79d5d2da17df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156720 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -142,7 +142,8 @@ class navigator(UITestCase):
|
||||
xColumn.executeAction("TYPE", mkPropertyValues({"TEXT":"B"}))
|
||||
xColumn.executeAction("TYPE", mkPropertyValues({"KEYCODE":"RETURN"}))
|
||||
xToolkit.processEventsToIdle()
|
||||
self.assertEqual(get_state_as_dict(xColumn)['Value'], '2')
|
||||
# disable flakey UITest
|
||||
# self.assertEqual(get_state_as_dict(xColumn)['Value'], '2')
|
||||
|
||||
xRow.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"}))
|
||||
xRow.executeAction("TYPE", mkPropertyValues({"KEYCODE":"BACKSPACE"}))
|
||||
|
@@ -40,21 +40,21 @@ class tdf144672(UITestCase):
|
||||
# tdf#129625: Without the fix in place, this test would have failed with
|
||||
# AssertionError: 'true' != 'false'
|
||||
self.assertEqual('true', get_state_as_dict(xReferences)['IsSemiTransparent'])
|
||||
|
||||
xIndexes = self.get_item(xContentTree, 'Indexes')
|
||||
self.assertEqual('Indexes', get_state_as_dict(xIndexes)['Text'])
|
||||
self.assertEqual('false', get_state_as_dict(xIndexes)['IsSemiTransparent'])
|
||||
|
||||
xIndexes.executeAction("EXPAND", tuple())
|
||||
|
||||
self.assertEqual('3', get_state_as_dict(xIndexes)['Children'])
|
||||
|
||||
for i in range(3):
|
||||
# Without the fix in place, this test would have failed here with
|
||||
# AssertionError: 'false' != 'true'
|
||||
self.assertEqual('false', get_state_as_dict(xIndexes.getChild(i))['IsSemiTransparent'])
|
||||
|
||||
xIndexes.executeAction("COLLAPSE", tuple())
|
||||
# disable flakey UITest
|
||||
# xIndexes = self.get_item(xContentTree, 'Indexes')
|
||||
# self.assertEqual('Indexes', get_state_as_dict(xIndexes)['Text'])
|
||||
# self.assertEqual('false', get_state_as_dict(xIndexes)['IsSemiTransparent'])
|
||||
#
|
||||
# xIndexes.executeAction("EXPAND", tuple())
|
||||
#
|
||||
# self.assertEqual('3', get_state_as_dict(xIndexes)['Children'])
|
||||
#
|
||||
# for i in range(3):
|
||||
# # Without the fix in place, this test would have failed here with
|
||||
# # AssertionError: 'false' != 'true'
|
||||
# self.assertEqual('false', get_state_as_dict(xIndexes.getChild(i))['IsSemiTransparent'])
|
||||
#
|
||||
# xIndexes.executeAction("COLLAPSE", tuple())
|
||||
|
||||
self.xUITest.executeCommand(".uno:Sidebar")
|
||||
|
||||
|
@@ -155,9 +155,10 @@ class tdf154521(UITestCase):
|
||||
|
||||
# Try the same selection with Bookmark 2
|
||||
xContentTree.executeAction("TYPE", mkPropertyValues({"KEYCODE": "UP"}))
|
||||
self.ui_test.wait_until_property_is_updated(xContentTree, "SelectEntryText", "Bookmark 2")
|
||||
self.assertEqual(get_state_as_dict(xContentTree)["SelectEntryText"], "Bookmark 2")
|
||||
self.assertEqual(get_state_as_dict(xContentTree)["SelectionCount"], "1")
|
||||
# disable flakey UITest
|
||||
# self.ui_test.wait_until_property_is_updated(xContentTree, "SelectEntryText", "Bookmark 2")
|
||||
# self.assertEqual(get_state_as_dict(xContentTree)["SelectEntryText"], "Bookmark 2")
|
||||
# self.assertEqual(get_state_as_dict(xContentTree)["SelectionCount"], "1")
|
||||
xContentTree.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RETURN"}))
|
||||
self.ui_test.wait_until_property_is_updated(xContentTree, "SelectEntryText", "Bookmark 2")
|
||||
self.assertEqual(get_state_as_dict(xContentTree)["SelectEntryText"], "Bookmark 2")
|
||||
|
Reference in New Issue
Block a user