on xenial help sign in
Make sure all rendering operations are completed before doing the swipe-dismiss-checks, thus the tests also pass on very slow (jenkins) systems.
c318defMirco Müller
tests/qmltests/Notifications/tst_Notifications.qml+1
@@ -654,6 +654,7 @@ Item {
654 }
654 }
655
655
656 // swipe-to-dismiss check
656 // swipe-to-dismiss check
657+ waitForRendering(notification)
657 var before = mockModel.count
658 var before = mockModel.count
658 var dragStart = notification.width * 0.25;
659 var dragStart = notification.width * 0.25;
659 var dragEnd = notification.width;
660 var dragEnd = notification.width;