aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2021-08-10 11:29:02 +0200
committerRobert Löhning <robert.loehning@qt.io>2021-08-10 18:55:43 +0000
commitbfe2a7b9d1d9156881e1c2e302cf614f8b1cd754 (patch)
tree928db9a84316a04f5f580fb1e39466bde08226a0
parent0a953d2412449170ae6a623e8f4a15bd741f0852 (diff)
Squish: Fix suite_debuggerv5.0.0-rc1
Change-Id: Ic0add36d2acfbf4c6de93d27f8651062ad9f1fb4 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
-rw-r--r--tests/system/shared/debugger.py2
-rw-r--r--tests/system/suite_debugger/tst_debug_empty_main/test.py2
-rw-r--r--tests/system/suite_debugger/tst_qml_locals/test.py4
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)