From deb7bcec278dea1d5903c6d83de234a960051873 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 5 Sep 2016 13:07:12 +0200 Subject: Attempt to stabilize tst_scrollview Task-number: QTBUG-55727 Change-Id: I6cbc1f020ead184fd8475f965f69db635ee2cc7b Reviewed-by: Mitch Curtis --- tests/auto/controls/data/tst_scrollview.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.1