on xenial help sign in
Make test more reliable
308a9daAlbert Astals
tests/qmltests/Tutorial/tst_Tutorial.qml+2−2
@@ -332,14 +332,14 @@ Item {
332 verify(teaseAnimation.running);
332 verify(teaseAnimation.running);
333
333
334 // Start a drag, make sure animation stops
334 // Start a drag, make sure animation stops
335− touchFlick(shell, 0, halfHeight, units.gu(3), halfHeight, true, false);
335+ touchFlick(shell, 0, halfHeight, units.gu(4), halfHeight, true, false);
336 verify(!teaseAnimation.running);
336 verify(!teaseAnimation.running);
337 verify(launcher.visibleWidth > 0);
337 verify(launcher.visibleWidth > 0);
338 verify(launcher.x > 0);
338 verify(launcher.x > 0);
339 compare(launcher.x, teaseAnimation.bounce);
339 compare(launcher.x, teaseAnimation.bounce);
340
340
341 // Continue drag, make sure we don't create a gap on the left hand side
341 // Continue drag, make sure we don't create a gap on the left hand side
342− touchFlick(shell, units.gu(3), halfHeight, shell.width, halfHeight, false, false);
342+ touchFlick(shell, units.gu(4), halfHeight, shell.width, halfHeight, false, false);
343 verify(!teaseAnimation.running);
343 verify(!teaseAnimation.running);
344 compare(launcher.visibleWidth, launcher.panelWidth);
344 compare(launcher.visibleWidth, launcher.panelWidth);
345 compare(launcher.x, 0);
345 compare(launcher.x, 0);