Commit 126a031e authored by Robert Loehning's avatar Robert Loehning

Squish: Wait a second in checkNavigator()

Change-Id: I45bad30e28f7374ae10d5b0155e08d8297f44448
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent a803ee06
......@@ -121,6 +121,7 @@ def checkWelcomePage(sessionName, isCurrent=False):
def checkNavigator(expectedRows, message):
navigatorModel = waitForObject(":Qt Creator_Utils::NavigationTreeView").model()
waitFor("expectedRows == len(__iterateChildren__(navigatorModel, QModelIndex()))", 1000)
test.compare(expectedRows, len(__iterateChildren__(navigatorModel, QModelIndex())), message)
def checkOpenDocuments(expectedRows, message):
......
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