summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2013-09-18 15:50:12 +0200
committerRobert Loehning <robert.loehning@digia.com>2013-09-18 16:00:19 +0200
commite29ae8c5373ce4c9131f38f93e004e4c3c86b5a5 (patch)
tree17e711c38c7240c1b6210fd604e579006222d80e
parent3880b805aeb5c4c948d7717e165592959126813b (diff)
downloadqt-creator-e29ae8c5373ce4c9131f38f93e004e4c3c86b5a5.tar.gz
Squish: Fix usages of :OpenDocuments_Widget
Change-Id: I1dde01e3fc8fb5f696054f72c44bdc9387aad5c6 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
-rw-r--r--tests/system/suite_editors/tst_modify_readonly/test.py1
-rw-r--r--tests/system/suite_general/tst_session_handling/test.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/system/suite_editors/tst_modify_readonly/test.py b/tests/system/suite_editors/tst_modify_readonly/test.py
index 11a29a5c72..92a4426bab 100644
--- a/tests/system/suite_editors/tst_modify_readonly/test.py
+++ b/tests/system/suite_editors/tst_modify_readonly/test.py
@@ -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
diff --git a/tests/system/suite_general/tst_session_handling/test.py b/tests/system/suite_general/tst_session_handling/test.py
index db53e9597f..6079a2f06f 100644
--- a/tests/system/suite_general/tst_session_handling/test.py
+++ b/tests/system/suite_general/tst_session_handling/test.py
@@ -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)