From 3a97df0f61dd7d7c588b09d9aebf2fd2036f1772 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 26 May 2020 14:09:31 +0200 Subject: [PATCH] Squish: Adapt to changed menus Change-Id: I8557003bbc94affb018b09e6d5d36cae0f72403a Reviewed-by: Robert Loehning --- tests/system/shared/utils.py | 4 ++-- tests/system/suite_debugger/tst_qml_js_console/test.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py index 6501f738a2c..26afa78c8a6 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -652,11 +652,11 @@ def openVcsLog(): waitForObject("{text='Version Control' type='QLabel' unnamed='1' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}", 2000) except: - invokeMenuItem("Window", "Output Panes", "Version Control") + invokeMenuItem("View", "Output Panes", "Version Control") def openGeneralMessages(): if not object.exists(":Qt Creator_Core::OutputWindow"): - invokeMenuItem("Window", "Output Panes", "General Messages") + invokeMenuItem("View", "Output Panes", "General Messages") # function that retrieves a specific child object by its class # this is sometimes the best way to avoid using waitForObject() on objects that diff --git a/tests/system/suite_debugger/tst_qml_js_console/test.py b/tests/system/suite_debugger/tst_qml_js_console/test.py index c7d9df09f25..040ceed7053 100644 --- a/tests/system/suite_debugger/tst_qml_js_console/test.py +++ b/tests/system/suite_debugger/tst_qml_js_console/test.py @@ -149,7 +149,7 @@ def main(): mainRect = getQModelIndexStr("text='Rectangle'", rootIndex) doubleClick(waitForObject(mainRect)) if not object.exists(":DebugModeWidget_Debugger::Internal::ConsoleView"): - invokeMenuItem("Window", "Output Panes", "QML Debugger Console") + invokeMenuItem("View", "Output Panes", "QML Debugger Console") # Window might be too small to show Locals, so close what we don't need for view in ("Stack", "Breakpoints", "Expressions"): invokeMenuItem("Window", "Views", view)