Commit 8c133689 authored by Robert Loehning's avatar Robert Loehning

Squish: Stabilize selectFromCombo

I keep losing the second mouseClick in tst_create_proj_wizard...

Change-Id: I45f37c848c7eccd9fd59c455e8d6c80c6de88c06
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 312ee5fd
......@@ -102,6 +102,7 @@ def selectFromCombo(objectSpec, itemName):
return False
else:
mouseClick(object, 5, 5, 0, Qt.LeftButton)
snooze(1)
mouseClick(waitForObjectItem(object, itemName.replace(".", "\\.")), 5, 5, 0, Qt.LeftButton)
test.verify(waitFor("str(object.currentText)==itemName", 5000),
"Switched combo item to '%s'" % itemName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment