@@ -88,7 +88,7 @@ Item {
88 return findChild(genericScopeView, categoryName);
88 return findChild(genericScopeView, categoryName);
91− function clickCategoryDelegate(category, delegate) {
91+ function getCategoryDelegate(category, delegate) {
92 var dashContentList = findChild(dash, "dashContentList");
92 var dashContentList = findChild(dash, "dashContentList");
93 var genericScopeView = dashContentList.currentItem;
93 var genericScopeView = dashContentList.currentItem;
94 if (category === undefined) category = 0;
94 if (category === undefined) category = 0;
@@ -104,6 +104,11 @@ Item {
105 var tile = findChild(findChild(genericScopeView, "dashCategory"+category), "delegate"+delegate);
105 var tile = findChild(findChild(genericScopeView, "dashCategory"+category), "delegate"+delegate);
106 waitForRendering(tile);
106 waitForRendering(tile);
110+ function clickCategoryDelegate(category, delegate) {
111+ var tile = getCategoryDelegate(category, delegate);
107 mouseClick(tile);
112 mouseClick(tile);
@@ -637,6 +642,18 @@ Item {
637 tryCompare(dashContent, "x", 0);
642 tryCompare(dashContent, "x", 0);
645+ function test_cardIconStyle()
647+ dash.setCurrentScope("clickscope");
648+ var dashContent = findChild(dash, "dashContent");
649+ tryCompare(dashContent.currentScope, "id", "clickscope");
651+ scrollToCategory("dashCategorypredefined");
652+ var tile = getCategoryDelegate("predefined", 2);
653+ var proportionalShape = findChild(tile, "artShapeProportionalShape");
654+ verify(proportionalShape != undefined);
640 function test_tempScopeItemXOnResize()
657 function test_tempScopeItemXOnResize()
642 // Go to a temp scope
659 // Go to a temp scope