diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-09 23:56:55 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-08-09 23:01:25 +0000 |
commit | 05b06e9ce410127fb7210ef00c0723e0bb1868b6 (patch) | |
tree | f92cb676da013259657458abdbe0774c8d37c5e3 | |
parent | eed9b9dd83f0db9cbfe794072d8f5147e3d1234a (diff) |
Fix tst_tumbler after Flickable changes
See qtdeclarative commit ebf07c3f for more details.
Task-number: QTBUG-55179
Change-Id: Ie7d855396148c892077381666e0200180dda02bd
Reviewed-by: Liang Qi <liang.qi@qt.io>
-rw-r--r-- | tests/auto/controls/data/tst_tumbler.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_tumbler.qml b/tests/auto/controls/data/tst_tumbler.qml index 6d133a5d..58d74c40 100644 --- a/tests/auto/controls/data/tst_tumbler.qml +++ b/tests/auto/controls/data/tst_tumbler.qml @@ -396,6 +396,7 @@ TestCase { var dragDirection = distanceToReachContentY > 0 ? -1 : 1; for (var i = 0; i < distance && Math.floor(listView.contentY) !== Math.floor(data.contentY); ++i) { mouseMove(tumbler, tumblerXCenter(), tumblerYCenter() + i * dragDirection); + wait(1); // because Flickable pays attention to velocity, we need some time between movements (qtdeclarative ebf07c3) } } |