diff --git a/tests/system/suite_QMLS/shared/qmls.py b/tests/system/suite_QMLS/shared/qmls.py index 7a70d20d26b..770c1203935 100644 --- a/tests/system/suite_QMLS/shared/qmls.py +++ b/tests/system/suite_QMLS/shared/qmls.py @@ -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") diff --git a/tests/system/suite_QMLS/tst_QMLS04/test.py b/tests/system/suite_QMLS/tst_QMLS04/test.py index 7dc8e9d06da..305c1e95689 100644 --- a/tests/system/suite_QMLS/tst_QMLS04/test.py +++ b/tests/system/suite_QMLS/tst_QMLS04/test.py @@ -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")