summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2014-08-14 15:37:33 +0200
committerRobert Loehning <robert.loehning@digia.com>2014-08-15 13:46:24 +0200
commit8c133689be164cfdb8f77078a97dce3c97397afe (patch)
tree0a7c46af1a7721850e4600ce66c1758ba2850ed7 /tests
parent312ee5fdf4807e18cbec362eb25746af8da17bd5 (diff)
downloadqt-creator-8c133689be164cfdb8f77078a97dce3c97397afe.tar.gz
Squish: Stabilize selectFromCombo
I keep losing the second mouseClick in tst_create_proj_wizard... Change-Id: I45f37c848c7eccd9fd59c455e8d6c80c6de88c06 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/shared/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py
index b4770e9081..913e5b2fbf 100644
--- a/tests/system/shared/utils.py
+++ b/tests/system/shared/utils.py
@@ -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)