@@ -666,6 +666,26 @@ Item {
666666 var shape = findChildsByType(artShapeLoader, "UCUbuntuShape");
667667 compare(shape.borderSource, undefined);
668668 }
669+
670+ function test_clickScopeSizing() {
671+ genericScopeView.scope = scopes.getScopeFromAll("clickscope");
672+ waitForRendering(genericScopeView);
673+
674+ var categoryListView = findChild(genericScopeView, "categoryListView");
675+ waitForRendering(categoryListView);
676+
677+ var categorypredefined = findChild(categoryListView, "dashCategorypredefined");
678+ waitForRendering(categorypredefined);
679+
680+ var cardTool = findChild(categorypredefined, "cardTool");
681+
682+ compare(cardTool.cardWidth, units.gu(9));
683+ shell.width = units.gu(46);
684+ waitForRendering(genericScopeView);
685+ compare(cardTool.cardWidth, units.gu(10));
686+
687+ shell.width = units.gu(120)
688+ }
669689 }
670690 }
671691}