Commit 1120edcb authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Fix suite_QMLS



Change-Id: Iab607408858bcf0acf7f55fd4a6145ee87090d4a
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent e8482f3e
......@@ -37,7 +37,7 @@ def startQtCreatorWithNewAppAtQMLEditor(projectDir, projectName, line = None):
# create qt quick application
createNewQtQuickApplication(projectDir, projectName)
# open qml file
qmlFile = projectName + ".QML.qml/" + projectName + ".main\\.qml"
qmlFile = projectName + ".QML.qml.main\\.qml"
if not openDocument(qmlFile):
test.fatal("Could not open %s" % qmlFile)
invokeMenuItem("File", "Exit")
......
......@@ -56,7 +56,7 @@ def main():
test.passes("Refactoring was properly applied in source file")
else:
test.fail("Refactoring of Text to MyComponent failed in source file. Content of editor:\n%s" % codeText)
myCompTE = "SampleApp.QML.qml/SampleApp.MyComponent\\.qml"
myCompTE = "SampleApp.QML.qml.MyComponent\\.qml"
appeared = False
# there should be new QML file generated with name "MyComponent.qml"
try:
......@@ -86,7 +86,7 @@ def main():
#save and exit
invokeMenuItem("File", "Save All")
# check if new file was created in file system
test.verify(os.path.exists(projectDir + "/SampleApp/qml/SampleApp/MyComponent.qml"),
test.verify(os.path.exists(projectDir + "/SampleApp/qml/MyComponent.qml"),
"Verifying if MyComponent.qml exists in file system after save")
invokeMenuItem("File", "Exit")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment