Commit e29ae8c5 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Fix usages of :OpenDocuments_Widget



Change-Id: I1dde01e3fc8fb5f696054f72c44bdc9387aad5c6
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 3880b805
......@@ -132,6 +132,7 @@ def testSaveChangesAndMakeWritable(modifiedFiles, readOnlyFiles):
"visible='1' window=%s}" % saveDlgStr))
def checkOpenDocumentsContains(itemName):
selectFromCombo(":Qt Creator_Core::Internal::NavComboBox", "Open Documents")
openDocsTreeViewModel = waitForObject(":OpenDocuments_Widget").model()
result = None
found = False
......
......@@ -129,6 +129,7 @@ def checkNavigator(expectedRows, message):
test.compare(expectedRows, len(__iterateChildren__(navigatorModel, QModelIndex())), message)
def checkOpenDocuments(expectedRows, message):
selectFromCombo(":Qt Creator_Core::Internal::NavComboBox", "Open Documents")
openDocsWidget = waitForObject(":OpenDocuments_Widget")
test.compare(openDocsWidget.model().rowCount(), 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