@@ -114,9 +114,11 @@ Item {
115 revealer.dragLauncherIntoView()
115 revealer.dragLauncherIntoView()
117+ var listView = findChild(launcher, "launcherListView");
118+ listView.flick(0, units.gu(500));
119+ tryCompare(listView, "flicking", false);
117 var appIcon = findChild(launcher, "launcherDelegate0")
121 var appIcon = findChild(launcher, "launcherDelegate0")
118− print("clicking now!", appIcon.angle);
121 verify(appIcon != undefined)
123 verify(appIcon != undefined)
@@ -225,7 +227,14 @@ Item {
225 name: "LauncherInit"
227 name: "LauncherInit"
226 when: windowShown
228 when: windowShown
231+ * FIXME: There is a bug in ListView which makes it snap to an item
232+ * instead of the edge at startup. Enable this test once our patch for
233+ * ListView has landed upstream.
234+ * https://bugreports.qt-project.org/browse/QTBUG-32251
228 function test_initFirstUnfolded() {
236 function test_initFirstUnfolded() {
229 // Make sure noone changed the height of the window. The issue this test case
238 // Make sure noone changed the height of the window. The issue this test case
230 // is verifying only happens on certain heights of the Launcher
239 // is verifying only happens on certain heights of the Launcher
231 compare(root.height, units.gu(55));
240 compare(root.height, units.gu(55));
@@ -238,5 +247,6 @@ Item {
238 // Now do check that snapping is in fact enabled
247 // Now do check that snapping is in fact enabled
239 compare(listView.snapMode, ListView.SnapToItem, "Snapping is not enabled");
248 compare(listView.snapMode, ListView.SnapToItem, "Snapping is not enabled");