forked from qt-creator/qt-creator
Squish: Use parameters in another call to mouseClick(...)
Reverts e8727fcae2
for this line.
Change-Id: I6ac752985fb9bcb66a38d7f97d8cc8dc33da4189
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -94,7 +94,7 @@ def __processSubItems__(treeObjStr, section, parModelIndexStr, doneItems,
|
|||||||
itObj = "%s occurrence='%d'}" % (itObj[:-1], alreadyDone + 1)
|
itObj = "%s occurrence='%d'}" % (itObj[:-1], alreadyDone + 1)
|
||||||
currentSelectedTreeItem = waitForObject(itObj, 3000)
|
currentSelectedTreeItem = waitForObject(itObj, 3000)
|
||||||
tree.scrollTo(it)
|
tree.scrollTo(it)
|
||||||
mouseClick(currentSelectedTreeItem)
|
mouseClick(currentSelectedTreeItem, 5, 5, 0, Qt.LeftButton)
|
||||||
additionalFunc(indexName, *additionalParameters)
|
additionalFunc(indexName, *additionalParameters)
|
||||||
currentSelectedTreeItem = None
|
currentSelectedTreeItem = None
|
||||||
if model.rowCount(it) > 0:
|
if model.rowCount(it) > 0:
|
||||||
|
Reference in New Issue
Block a user