summaryrefslogtreecommitdiff
path: root/tests/system/suite_debugger
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/suite_debugger')
-rw-r--r--tests/system/suite_debugger/tst_cli_output_console/test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/system/suite_debugger/tst_cli_output_console/test.py b/tests/system/suite_debugger/tst_cli_output_console/test.py
index f04e0e4959..6900aef542 100644
--- a/tests/system/suite_debugger/tst_cli_output_console/test.py
+++ b/tests/system/suite_debugger/tst_cli_output_console/test.py
@@ -31,8 +31,7 @@ def main():
# Rely on code completion for closing bracket
invokeMenuItem("File", "Save All")
selectFromLocator(project + ".pro")
- proEditor = waitForObject("{type='Qt4ProjectManager::Internal::ProFileEditorWidget' unnamed='1' visible='1'"
- "window=':Qt Creator_Core::Internal::MainWindow'}", 20000)
+ proEditor = waitForObject(":Qt Creator_ProFileEditorWidget", 20000)
test.verify("CONFIG += console" in str(proEditor.plainText), "Verifying that program is configured with console")
setRunInTerminal(1, 0, False)