on xenial help sign in
Use a delegate with less common index...
commit741c4fc31321e7e6d57ae210ced7a0ba4b13c5aa authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 8 Jul 2014, 21:48 (12 years ago) parentd6aae77
1 file changed+2−2
tests/qmltests/Dash/tst_DashContent.qml+2−2
tests/qmltests/Dash/tst_DashContent.qml+2−2
@@ -279,7 +279,7 @@ Item {
279279 if (scope != null) {
280280 var dashCategory1 = findChild(scope, "dashCategory1");
281281 if (dashCategory1 != null) {
282− var tile = findChild(dashCategory1, "carouselDelegate1");
282+ var tile = findChild(dashCategory1, "carouselDelegate3");
283283 return tile != null;
284284 }
285285 }
@@ -292,7 +292,7 @@ Item {
292292
293293 var scope = findChild(dashContent, "MockScope1 loader");
294294 var dashCategory1 = findChild(scope, "dashCategory1");
295− var tile = findChild(dashCategory1, "carouselDelegate1");
295+ var tile = findChild(dashCategory1, "carouselDelegate3");
296296 mouseClick(tile, tile.width / 2, tile.height / 2);
297297 tryCompare(tile, "explicitlyScaled", true);
298298 mouseClick(tile, tile.width / 2, tile.height / 2);