Commit 4b00139b authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Set timeout for waitFor

Change-Id: I669a5974c173aca6341c49d9d32044a40da42c9d
Reviewed-by: default avatarChristian Stenger <>
parent 7c672821
......@@ -111,7 +111,7 @@ def main():
mouseClick(waitForObject(":Hits_QCLuceneResultWidget"), 1, 1, 0, Qt.LeftButton)
type(waitForObject(":Hits_QCLuceneResultWidget"), "<Tab>")
type(waitForObject(":Hits_QCLuceneResultWidget"), "<Return>")
waitFor("__getUrl__() != url or selText != __getSelectedText__()")
waitFor("__getUrl__() != url or selText != __getSelectedText__()", 20000)
# verify if search keyword is found in results
test.verify(searchKeyword.lower() in __getSelectedText__().lower(),
searchKeyword + " search result can be found")
Supports Markdown
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