@@ -137,7 +137,9 @@ Rectangle {
137137
138138 if (data.swipeToClose) {
139139 verify(appWindowWithShadow.y < 0);
140− verify(Math.abs(Math.abs(appWindowWithShadow.y) - dragDistance) < units.gu(1));
140+ // Verify that the delegate started moving exactly 2 gus after the finger movement
141+ // and did not jump up to the finger, but lags those 2 gus behind
142+ verify(Math.abs(Math.abs(appWindowWithShadow.y) - dragDistance) == units.gu(2));
141143
142144 touchRelease(spreadDelegateLoader.item, touchX, toY - units.gu(1));
143145