summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-09-05 13:07:12 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-09-05 11:54:51 +0000
commitdeb7bcec278dea1d5903c6d83de234a960051873 (patch)
treebb2180c5ff22f5cd27ef99ed9d7f21547d120b9e /tests
parent846d04cec8d946c28ddbeecc79c63553e0891736 (diff)
downloadqtquickcontrols-deb7bcec278dea1d5903c6d83de234a960051873.tar.gz
Attempt to stabilize tst_scrollview
Task-number: QTBUG-55727 Change-Id: I6cbc1f020ead184fd8475f965f69db635ee2cc7b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/controls/data/tst_scrollview.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_scrollview.qml b/tests/auto/controls/data/tst_scrollview.qml
index cb96c3db..cc737664 100644
--- a/tests/auto/controls/data/tst_scrollview.qml
+++ b/tests/auto/controls/data/tst_scrollview.qml
@@ -133,7 +133,7 @@ TestCase {
var scrollView = dragFetchAppendComponent.createObject(container)
verify(scrollView !== null, "view created is null")
waitForRendering(scrollView)
- verify(scrollView.flickableItem.contentHeight === 60 * 20)
+ tryCompare(scrollView.flickableItem, "contentHeight", 60 * 20)
// After scrolling to the end, view should ask the model to fetch more
// data, content height should increase and scrollbar handle should move