diff options
author | Gökay Şatır <gokaysatir@gmail.com> | 2023-09-07 16:09:00 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-10-05 16:46:15 +0200 |
commit | c0187d9f5e6ab5129b6fc4682555f2f8775d6f67 (patch) | |
tree | 7e419fa6515752d46de422486619adf1d83d6bc8 /sw/qa | |
parent | 32102e559eed6eadf2ea146e212a330a3bc897ca (diff) |
SW comments: Provide parent / child relations without position.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I7acba74ef0717bc07a675be17fc1909680138f00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157019
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/uitest/navigator/tdf137274.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/qa/uitest/navigator/tdf137274.py b/sw/qa/uitest/navigator/tdf137274.py index 5192045b8264..5273ddcb2f91 100644 --- a/sw/qa/uitest/navigator/tdf137274.py +++ b/sw/qa/uitest/navigator/tdf137274.py @@ -9,6 +9,7 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import get_state_as_dict +import time class tdf137274(UITestCase): @@ -59,7 +60,11 @@ class tdf137274(UITestCase): self.ui_test.wait_until_child_is_available('Comment2') # xComments needs reassigned after content tree change - xComments = self.get_item(xContentTree, 'Comments') + while True: + xComments = self.get_item(xContentTree, 'Comments') + if '1' in xComments.getChildren(): + break + time.sleep(self.ui_test.get_default_sleep()) self.assertEqual('Comments', get_state_as_dict(xComments)['Text']) xComments.executeAction("EXPAND", tuple()) |