From bfe2a7b9d1d9156881e1c2e302cf614f8b1cd754 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 10 Aug 2021 11:29:02 +0200 Subject: Squish: Fix suite_debugger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic0add36d2acfbf4c6de93d27f8651062ad9f1fb4 Reviewed-by: Robert Löhning --- tests/system/shared/debugger.py | 2 +- tests/system/suite_debugger/tst_debug_empty_main/test.py | 2 +- tests/system/suite_debugger/tst_qml_locals/test.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/system/shared/debugger.py b/tests/system/shared/debugger.py index 5f20b2f5c3..1c2baccbe0 100644 --- a/tests/system/shared/debugger.py +++ b/tests/system/shared/debugger.py @@ -134,7 +134,7 @@ def doSimpleDebugging(currentKit, currentConfigName, expectedBPOrder=[], enableQ expectedLabelTexts.append("Running\.") switchViewTo(ViewConstants.PROJECTS) switchToBuildOrRunSettingsFor(currentKit, ProjectSettings.RUN) - ensureChecked(waitForObject("{container=':Qt Creator.scrollArea_QScrollArea' text='Enable QML' " + ensureChecked(waitForObject("{container=':Qt Creator_Core::Internal::MainWindow' text='Enable QML' " "type='QCheckBox' unnamed='1' visible='1'}"), enableQml) switchViewTo(ViewConstants.EDIT) if not __startDebugger__(currentKit, currentConfigName): diff --git a/tests/system/suite_debugger/tst_debug_empty_main/test.py b/tests/system/suite_debugger/tst_debug_empty_main/test.py index e9ff73c6d0..3e0e456e92 100644 --- a/tests/system/suite_debugger/tst_debug_empty_main/test.py +++ b/tests/system/suite_debugger/tst_debug_empty_main/test.py @@ -100,7 +100,7 @@ def performDebugging(projectName): test.log("Selecting '%s' as build config" % config) verifyBuildConfig(kit, config, True, True) waitForObject(":*Qt Creator.Build Project_Core::Internal::FancyToolButton") - invokeMenuItem("Build", "Rebuild All Projects") + selectFromLocator("t rebuild", "Rebuild (Rebuild All Projects)") waitForCompile() isMsvc = isMsvcConfig(kit) clickButton(waitForObject(":*Qt Creator.Start Debugging_Core::Internal::FancyToolButton")) diff --git a/tests/system/suite_debugger/tst_qml_locals/test.py b/tests/system/suite_debugger/tst_qml_locals/test.py index f3da6dee80..5bd868f806 100644 --- a/tests/system/suite_debugger/tst_qml_locals/test.py +++ b/tests/system/suite_debugger/tst_qml_locals/test.py @@ -52,12 +52,12 @@ def main(): "Verifying Run and Debug are enabled (Qt5 is available).") and test.compare(target, Targets.getStringForTarget(Targets.getDefaultKit()), "Verifying selected Target is Qt5.") - and test.compare(exe, "QML Utility", "Verifying selected executable is QML Utility.")): + and test.compare(exe, "QML Runtime", "Verifying selected executable is QML Runtime.")): earlyExit("Something went wrong opening Qml project - probably missing Qt5.") return switchViewTo(ViewConstants.PROJECTS) switchToBuildOrRunSettingsFor(Targets.getDefaultKit(), ProjectSettings.RUN) - ensureChecked("{container=':Qt Creator.scrollArea_QScrollArea' text='Enable QML' " + ensureChecked("{container=':Qt Creator_Core::Internal::MainWindow' text='Enable QML' " "type='QCheckBox' unnamed='1' visible='1'}") switchViewTo(ViewConstants.EDIT) clickButton(fancyDebugButton) -- cgit v1.2.1