diff --git a/tests/system/suite_editors/tst_modify_readonly/test.py b/tests/system/suite_editors/tst_modify_readonly/test.py index 11a29a5c728..92a4426bab5 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 db53e9597f5..6079a2f06fe 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)