From 5c4cf2d018600836b7f83f642d2bf6dc174cf81d Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 22 Feb 2023 15:19:56 +0100 Subject: [PATCH] SquishTests: More adaption to changed wizard template Change-Id: Ib073a8eae3ee87dc46699083799a8316da66b32d Reviewed-by: David Schulz --- tests/system/suite_SCOM/tst_SCOM02/test.py | 2 +- tests/system/suite_editors/tst_qml_indent/test.py | 4 ++-- tests/system/suite_qtquick/tst_qtquick_creation/test.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/system/suite_SCOM/tst_SCOM02/test.py b/tests/system/suite_SCOM/tst_SCOM02/test.py index 623fb090f41..6753e27cbdb 100644 --- a/tests/system/suite_SCOM/tst_SCOM02/test.py +++ b/tests/system/suite_SCOM/tst_SCOM02/test.py @@ -12,7 +12,7 @@ def main(): # create qt quick application createNewQtQuickApplication(tempDir(), "SampleApp") # create syntax error in qml file - openDocument("SampleApp.Resources.qml\.qrc./.main\\.qml") + openDocument("SampleApp.appSampleApp.Main\\.qml") if not appendToLine(waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget"), "Window {", "SyntaxError"): invokeMenuItem("File", "Exit") return diff --git a/tests/system/suite_editors/tst_qml_indent/test.py b/tests/system/suite_editors/tst_qml_indent/test.py index d1f8922607b..bb0df6a683c 100644 --- a/tests/system/suite_editors/tst_qml_indent/test.py +++ b/tests/system/suite_editors/tst_qml_indent/test.py @@ -15,8 +15,8 @@ def main(): invokeMenuItem("File", "Exit") def prepareQmlFile(): - if not openDocument("untitled.untitled.qml\\.qrc./.main\\.qml"): - test.fatal("Could not open main.qml") + if not openDocument("untitled.appuntitled.Main\\.qml"): + test.fatal("Could not open Main.qml") return None editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget") isDarwin = platform.system() == 'Darwin' diff --git a/tests/system/suite_qtquick/tst_qtquick_creation/test.py b/tests/system/suite_qtquick/tst_qtquick_creation/test.py index 2ca7164c66e..164dc5cc948 100644 --- a/tests/system/suite_qtquick/tst_qtquick_creation/test.py +++ b/tests/system/suite_qtquick/tst_qtquick_creation/test.py @@ -33,7 +33,7 @@ def main(): checkCompile() else: appOutput = logApplicationOutput() - test.verify(not ("main.qml" in appOutput or "MainForm.ui.qml" in appOutput), + test.verify(not ("Main.qml" in appOutput or "MainForm.ui.qml" in appOutput), "Does the Application Output indicate QML errors?") invokeMenuItem("File", "Close All Projects and Editors")