aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/shared
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2019-07-26 15:12:31 +0200
committerRobert Loehning <robert.loehning@qt.io>2019-07-26 14:56:47 +0000
commit2c5d4ef6f8a3f316f4308c4fa05f167628b3fc5f (patch)
tree7320b06d5987599ddbe15089a60cec8e45045241 /tests/system/shared
parentc49f08045813099d48b9f4048f9495f9bd3e8d4f (diff)
Squish: Use parameters in some calls to mouseClick(...)
Partially reverts e8727fcae25d96da9e55bb5a98dde813e4e5dfa0 for these lines. Change-Id: I268b1ff337095bd08d3e92c8be57bc2b6e5de8d9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/shared')
-rw-r--r--tests/system/shared/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py
index ae6bfc1f5c..e8bc1425a7 100644
--- a/tests/system/shared/utils.py
+++ b/tests/system/shared/utils.py
@@ -99,7 +99,8 @@ def selectFromCombo(objectSpec, itemName):
else:
mouseClick(object)
snooze(1)
- mouseClick(waitForObjectItem(object, itemName.replace(".", "\\.")))
+ # params required here
+ mouseClick(waitForObjectItem(object, itemName.replace(".", "\\.")), 5, 5, 0, Qt.LeftButton)
test.verify(waitFor("str(object.currentText)==itemName", 5000),
"Switched combo item to '%s'" % itemName)
return True