forked from qt-creator/qt-creator
Squish: Adapt to changed menus
Change-Id: I8557003bbc94affb018b09e6d5d36cae0f72403a Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
committed by
Robert Loehning
parent
0039d5ce79
commit
3a97df0f61
@@ -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
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user