Commit e0b7cd6b authored by Christian Stenger's avatar Christian Stenger

Squish: Added timeout for waitFor()

Change-Id: I9d15d03c9b289f41830a57ed659264a324338cc6
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent cc765472
......@@ -35,7 +35,7 @@ def main():
invokeMenuItem("File", "Exit")
return
# wait until search finished and verify search results
waitFor("searchFinished")
waitFor("searchFinished", 20000)
validateSearchResult(18)
result = re.search("QmlApplicationViewer", str(editorWidget.plainText))
test.verify(result, "Verifying if: The list of all usages of the selected text is displayed in Search Results. "
......@@ -49,7 +49,7 @@ def main():
searchFinished = False
type(editorWidget, "<Ctrl+Shift+U>")
# wait until search finished and verify search results
waitFor("searchFinished")
waitFor("searchFinished", 20000)
validateSearchResult(3)
# exit qt creator
invokeMenuItem("File", "Save All")
......
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