forked from qt-creator/qt-creator
Squish: Stabilize tst_qml_js_console
Change-Id: Id5c72fffddcbf88ece36b4109621e10e2a030532 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -139,6 +139,7 @@ def main():
|
||||
switchViewTo(ViewConstants.EDIT)
|
||||
# start debugging
|
||||
clickButton(fancyDebugButton)
|
||||
progressBarWait()
|
||||
waitForObject(":Locals and Expressions_Debugger::Internal::WatchTreeView")
|
||||
rootIndex = getQModelIndexStr("text='QQmlEngine'",
|
||||
":Locals and Expressions_Debugger::Internal::WatchTreeView")
|
||||
@@ -147,7 +148,9 @@ def main():
|
||||
doubleClick(waitForObject(mainRect))
|
||||
if not object.exists(":DebugModeWidget_Debugger::Internal::ConsoleView"):
|
||||
invokeMenuItem("Window", "Output Panes", "QML Debugger Console")
|
||||
progressBarWait()
|
||||
# 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)
|
||||
# color and float values have additional ZERO WIDTH SPACE (\u200b), different usage of
|
||||
# whitespaces inside expressions is part of the test
|
||||
checks = [("color", u"#\u200b008000"), ("width", "50"),
|
||||
|
Reference in New Issue
Block a user