From 20943e94be054245f7d0ad80a6732046e4ef60fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Fri, 23 Aug 2024 15:59:03 +0200 Subject: [PATCH] SquishTests: Update objects in tst_APTW03 Change-Id: I3f9b1b44bfb0cd9a6c88c42ac9a368777c1e0639 Reviewed-by: Christian Stenger --- tests/system/suite_APTW/tst_APTW03/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/system/suite_APTW/tst_APTW03/test.py b/tests/system/suite_APTW/tst_APTW03/test.py index bbbec3b1630..71afa8bdea7 100644 --- a/tests/system/suite_APTW/tst_APTW03/test.py +++ b/tests/system/suite_APTW/tst_APTW03/test.py @@ -11,7 +11,7 @@ def handleInsertVirtualFunctions(expected, toAdd): mouseClick(waitForObjectItem(treeView, item.replace("_", "\\_")), 5, 5, 0, Qt.LeftButton) test.verify(waitFor("isCheckedF(child)", 1000), "Function must be checked after clicking") - treeView = waitForObject("{container={title='Functions to insert:' type='QGroupBox' unnamed='1'" + treeView = waitForObject("{container={name='&Functions to insert:' type='QGroupBox'" " visible='1'} type='QTreeView' unnamed='1' visible='1'}") model = treeView.model() @@ -35,8 +35,8 @@ def handleInsertVirtualFunctions(expected, toAdd): test.verify(len(set(expected).difference(found)) == 0, "Verifying whether all expected functions have been found.") - selectFromCombo("{container={title='Insertion options:' type='QGroupBox' unnamed='1' " - " visible='1'} occurrence='2' type='QComboBox' unnamed='1' visible='1'}", + selectFromCombo("{container={name='&Insertion options:' type='QGroupBox' visible='1'} " + "type='QComboBox' unnamed='1' visible='1'}", "Insert definitions in implementation file") clickButton("{text='OK' type='QPushButton' unnamed='1' visible='1'}")