forked from qt-creator/qt-creator
Squish: Small improvements
Hoping to fix some fails on Mac Change-Id: I5e9f47f0714b14a6b87df342de74e7fd41fe94b0 Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
committed by
Robert Löhning
parent
254812a7b5
commit
23fcc1a823
@@ -31,7 +31,7 @@ def ensureChecked(objectName, shouldBeChecked = True):
|
||||
else:
|
||||
state = "unchecked"
|
||||
test.log("New state for QCheckBox: %s" % state)
|
||||
test.verify(object.checked == shouldBeChecked)
|
||||
test.verify(waitFor("object.checked == shouldBeChecked", 1000))
|
||||
return object
|
||||
|
||||
# verify that an object is in an expected enable state. Returns the object.
|
||||
|
||||
Reference in New Issue
Block a user