forked from qt-creator/qt-creator
Squish: Fix openDocument()
This uses the Projects view, not Open Documents Change-Id: I8695d170ed85939ce2d002270c3cb60d97954130 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -344,7 +344,7 @@ def addBranchWildcardToRoot(rootNode):
|
||||
|
||||
def openDocument(treeElement):
|
||||
try:
|
||||
selectFromCombo(":Qt Creator_Core::Internal::NavComboBox", "Open Documents")
|
||||
selectFromCombo(":Qt Creator_Core::Internal::NavComboBox", "Projects")
|
||||
navigator = waitForObject(":Qt Creator_Utils::NavigationTreeView")
|
||||
try:
|
||||
item = waitForObjectItem(navigator, treeElement, 3000)
|
||||
|
Reference in New Issue
Block a user