Commit 8f619675 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Fix openDocument() for new qrc approach

Change-Id: Ib0809955339b97de7000d015830e4d13c3d66b62
Reviewed-by: default avatarRobert Loehning <>
parent 27a21ef2
......@@ -375,7 +375,8 @@ def openDocument(treeElement):
item = waitForObjectItem(navigator, treeElement)
doubleClickItem(navigator, treeElement, 5, 5, 0, Qt.LeftButton)
mainWindow = waitForObject(":Qt Creator_Core::Internal::MainWindow")
waitFor("item.text in str(mainWindow.windowTitle)")
expected = str(item.text).split("/")[-1]
waitFor("expected in str(mainWindow.windowTitle)")
return True
return False
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