diff --git a/tests/system/suite_SCOM/tst_SCOM02/test.py b/tests/system/suite_SCOM/tst_SCOM02/test.py index 7c9dd60cea7..64fbf7d65c1 100644 --- a/tests/system/suite_SCOM/tst_SCOM02/test.py +++ b/tests/system/suite_SCOM/tst_SCOM02/test.py @@ -35,7 +35,7 @@ def main(): createNewQtQuickApplication(tempDir(), "SampleApp") # create syntax error in qml file openDocument("SampleApp.Resources.qml\.qrc./.main\\.qml") - if not appendToLine(waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget"), "TextEdit {", "SyntaxError"): + if not appendToLine(waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget"), "Window {", "SyntaxError"): invokeMenuItem("File", "Exit") return # save all to invoke qml parsing