summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@theqtcompany.com>2016-02-02 18:02:20 +0100
committerRobert Loehning <robert.loehning@theqtcompany.com>2016-02-03 13:53:36 +0000
commitcb7b24be15b0319475eed04150f7b7624e6dd61d (patch)
tree693a778322669f8aaf44151b5c92621efb279f98
parent40dfb0dcf3d1dd16264d1326282e7f9c7cedde64 (diff)
downloadqt-creator-cb7b24be15b0319475eed04150f7b7624e6dd61d.tar.gz
Squish: Try to stabilize tst_qml_js_console
Change-Id: I9de2d7784954ebe658530505ba64e816a95d411c Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--tests/system/suite_debugger/tst_qml_js_console/test.py2
1 files changed, 2 insertions, 0 deletions
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 8075ddd56a..f8a001e8f0 100644
--- a/tests/system/suite_debugger/tst_qml_js_console/test.py
+++ b/tests/system/suite_debugger/tst_qml_js_console/test.py
@@ -76,6 +76,8 @@ def getQmlJSConsoleOutput():
result = []
consoleView = waitForObject(":DebugModeWidget_QmlJSTools::Internal::QmlConsoleView")
model = consoleView.model()
+ # old input, output, new input > 2
+ waitFor("model.rowCount() > 2", 2000)
return dumpItems(model)[:-1]
except:
return [""]