on xenial help sign in
Position list at the beginning to make sure delegate0 is on screen
commit75f9c2a29d2cacb68a1809ba62ea4262bbae898f authorAlbert Astals <albert.astals@canonical.com> dateThu 7 Nov 2013, 17:28 (13 years ago) parentf3d9c43
1 file changed+3
tests/qmltests/Dash/tst_GenericScopeView.qml+3
tests/qmltests/Dash/tst_GenericScopeView.qml+3
@@ -74,6 +74,9 @@ Item {
7474 }
7575
7676 function openPreview() {
77+ var categoryListView = findChild(genericScopeView, "categoryListView");
78+ categoryListView.positionAtBeginning();
79+
7780 var tile = findChild(genericScopeView, "delegate0");
7881 mouseClick(tile, tile.width / 2, tile.height / 2);
7982 var openEffect = findChild(genericScopeView, "openEffect");