forked from qt-creator/qt-creator
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:
@@ -35,7 +35,7 @@ def main():
|
|||||||
createNewQtQuickApplication(tempDir(), "SampleApp")
|
createNewQtQuickApplication(tempDir(), "SampleApp")
|
||||||
# create syntax error in qml file
|
# create syntax error in qml file
|
||||||
openDocument("SampleApp.Resources.qml\.qrc./.main\\.qml")
|
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")
|
invokeMenuItem("File", "Exit")
|
||||||
return
|
return
|
||||||
# save all to invoke qml parsing
|
# save all to invoke qml parsing
|
||||||
|
Reference in New Issue
Block a user