Squish: Update tst_SCOM02

...for changed QML file in project template.

Change-Id: I3a0999650bffc35bc09d0f8ae92a33b80ac90474
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Loehning
2017-09-15 16:29:26 +02:00
parent 810ba37075
commit 5b94c3730b

View File

@@ -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