diff --git a/tests/system/suite_editors/tst_modify_readonly/test.py b/tests/system/suite_editors/tst_modify_readonly/test.py index 11a29a5c728811bf836c2a3b3cd3ebe7fc3e77ca..92a4426bab5bde44491d8445b3f3f08178026df1 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 db53e9597f55955c542e607e1b333166dba7bcd1..6079a2f06fe9c75d9f34fabbab25b2343beaf656 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)