@@ -88,7 +88,7 @@ Item {
8888 return findChild(genericScopeView, categoryName);
8989 }
9090
91− function clickCategoryDelegate(category, delegate) {
91+ function getCategoryDelegate(category, delegate) {
9292 var dashContentList = findChild(dash, "dashContentList");
9393 var genericScopeView = dashContentList.currentItem;
9494 if (category === undefined) category = 0;
@@ -104,6 +104,11 @@ Item {
104104 true);
105105 var tile = findChild(findChild(genericScopeView, "dashCategory"+category), "delegate"+delegate);
106106 waitForRendering(tile);
107+ return tile;
108+ }
109+
110+ function clickCategoryDelegate(category, delegate) {
111+ var tile = getCategoryDelegate(category, delegate);
107112 mouseClick(tile);
108113 }
109114
@@ -637,6 +642,18 @@ Item {
637642 tryCompare(dashContent, "x", 0);
638643 }
639644
645+ function test_cardIconStyle()
646+ {
647+ dash.setCurrentScope("clickscope");
648+ var dashContent = findChild(dash, "dashContent");
649+ tryCompare(dashContent.currentScope, "id", "clickscope");
650+
651+ scrollToCategory("dashCategorypredefined");
652+ var tile = getCategoryDelegate("predefined", 2);
653+ var proportionalShape = findChildsByType(tile, "UCProportionalShape");
654+ compare(proportionalShape.length, 1);
655+ }
656+
640657 function test_tempScopeItemXOnResize()
641658 {
642659 // Go to a temp scope