Ensure that the flickable animation finishes before flicking in the
other axis is initiated.
Task-number: QTBUG-21096
Change-Id: I97bdbc539d9b5af999c0c3d186c35a75a029194d
Reviewed-on: http://codereview.qt.nokia.com/3553
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
QCOMPARE(dragStartSpy.count(), 1);
QCOMPARE(dragEndSpy.count(), 1);
- // Don't test moving because a flick could occur
+ // wait for any motion to end
+ QTRY_VERIFY(flickable->isMoving() == false);
//Horizontal
vDragSpy.clear();