forked from qt-creator/qt-creator
Squish: Adapt to ui change
Change-Id: I0c896d5fa6d8fd814afec3206a2faae434da9dc7 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -650,11 +650,11 @@ def openVcsLog():
|
|||||||
waitForObject("{text='Version Control' type='QLabel' unnamed='1' visible='1' "
|
waitForObject("{text='Version Control' type='QLabel' unnamed='1' visible='1' "
|
||||||
"window=':Qt Creator_Core::Internal::MainWindow'}", 2000)
|
"window=':Qt Creator_Core::Internal::MainWindow'}", 2000)
|
||||||
except:
|
except:
|
||||||
invokeMenuItem("View", "Output Panes", "Version Control")
|
invokeMenuItem("View", "Output", "Version Control")
|
||||||
|
|
||||||
def openGeneralMessages():
|
def openGeneralMessages():
|
||||||
if not object.exists(":Qt Creator_Core::OutputWindow"):
|
if not object.exists(":Qt Creator_Core::OutputWindow"):
|
||||||
invokeMenuItem("View", "Output Panes", "General Messages")
|
invokeMenuItem("View", "Output", "General Messages")
|
||||||
|
|
||||||
# function that retrieves a specific child object by its class
|
# function that retrieves a specific child object by its class
|
||||||
# this is sometimes the best way to avoid using waitForObject() on objects that
|
# this is sometimes the best way to avoid using waitForObject() on objects that
|
||||||
|
@@ -41,7 +41,7 @@ def main():
|
|||||||
type(editorArea, "<Return>")
|
type(editorArea, "<Return>")
|
||||||
type(editorArea, testingCodeLine)
|
type(editorArea, testingCodeLine)
|
||||||
|
|
||||||
invokeMenuItem("View", "Output Panes", "Issues")
|
invokeMenuItem("View", "Output", "Issues")
|
||||||
issuesView = waitForObject(":Qt Creator.Issues_QListView")
|
issuesView = waitForObject(":Qt Creator.Issues_QListView")
|
||||||
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
|
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
|
||||||
|
|
||||||
|
@@ -149,7 +149,7 @@ def main():
|
|||||||
mainRect = getQModelIndexStr("text='Rectangle'", rootIndex)
|
mainRect = getQModelIndexStr("text='Rectangle'", rootIndex)
|
||||||
doubleClick(waitForObject(mainRect))
|
doubleClick(waitForObject(mainRect))
|
||||||
if not object.exists(":DebugModeWidget_Debugger::Internal::ConsoleView"):
|
if not object.exists(":DebugModeWidget_Debugger::Internal::ConsoleView"):
|
||||||
invokeMenuItem("View", "Output Panes", "QML Debugger Console")
|
invokeMenuItem("View", "Output", "QML Debugger Console")
|
||||||
# Window might be too small to show Locals, so close what we don't need
|
# Window might be too small to show Locals, so close what we don't need
|
||||||
for view in ("Stack", "Breakpoints", "Expressions"):
|
for view in ("Stack", "Breakpoints", "Expressions"):
|
||||||
invokeMenuItem("View", "Views", view)
|
invokeMenuItem("View", "Views", view)
|
||||||
|
Reference in New Issue
Block a user