SquishTests: Update objects in tst_APTW03

Change-Id: I3f9b1b44bfb0cd9a6c88c42ac9a368777c1e0639
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Löhning
2024-08-23 15:59:03 +02:00
parent 5a95becf2d
commit 20943e94be

View File

@@ -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'}")