summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2022-02-02 18:15:12 -0900
committerJim Raykowski <raykowj@gmail.com>2022-02-10 07:37:08 +0100
commita2ee79c90a6d158e642ad1ac404e5ccd87d27f76 (patch)
tree9095e3699f9aa153039d88c98c924c0c716c4836 /sw/qa
parent5cd672ee291f47ff0f5ea9cba828639a41ae40a7 (diff)
SwNavigator: test if member count has changed
In the HasContentChanged function, make the comment "FillMemberList tests if member count in old member array equals member count in new member array" honest. Change-Id: I88ee65bb4ed0c56930b8d5ee968ed6c5abb8d841 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129393 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/uitest/navigator/tdf137274.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/qa/uitest/navigator/tdf137274.py b/sw/qa/uitest/navigator/tdf137274.py
index 72044f2cc398..a25f449abe9b 100644
--- a/sw/qa/uitest/navigator/tdf137274.py
+++ b/sw/qa/uitest/navigator/tdf137274.py
@@ -52,6 +52,10 @@ class tdf137274(UITestCase):
# wait until the second comment is available
self.ui_test.wait_until_child_is_available('Comment2')
+ # xComments needs reassigned after content tree change
+ xComments = xContentTree.getChild('10')
+ self.assertEqual('Comments', get_state_as_dict(xComments)['Text'])
+
xComments.executeAction("EXPAND", tuple())
# Without the fix in place, this test would have failed with AssertionError: 2 != 0