on xenial help sign in
Make test more reliable
commit308a9da146e221fe3e73ee1ad052b50722c5bcc9 authorAlbert Astals <albert.astals@canonical.com> dateThu 9 Jul 2015, 09:44 (11 years ago) parent43b1644
1 file changed+2−2
tests/qmltests/Tutorial/tst_Tutorial.qml+2−2
tests/qmltests/Tutorial/tst_Tutorial.qml+2−2
@@ -332,14 +332,14 @@ Item {
332332 verify(teaseAnimation.running);
333333
334334 // 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);
336336 verify(!teaseAnimation.running);
337337 verify(launcher.visibleWidth > 0);
338338 verify(launcher.x > 0);
339339 compare(launcher.x, teaseAnimation.bounce);
340340
341341 // 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);
343343 verify(!teaseAnimation.running);
344344 compare(launcher.visibleWidth, launcher.panelWidth);
345345 compare(launcher.x, 0);