@@ -115,15 +115,12 @@ Item {
115 verify(!category.expanded);
115 verify(!category.expanded);
117 var initialHeight = category.height;
117 var initialHeight = category.height;
119 mouseClick(seeAll, seeAll.width / 2, seeAll.height / 2);
118 mouseClick(seeAll, seeAll.width / 2, seeAll.height / 2);
120− tryCompareFunction(function() { middleHeight = category.height; return category.height > initialHeight; }, true);
119+ verify(category.expanded);
121− tryCompare(category, "expanded", true);
122− tryCompareFunction(function() { return category.height > middleHeight; }, true);
120+ tryCompareFunction(function() { return category.height > initialHeight; }, true);
124 mouseClick(seeAll, seeAll.width / 2, seeAll.height / 2);
122 mouseClick(seeAll, seeAll.width / 2, seeAll.height / 2);
125− verify(category.expandable);
123+ verify(!category.expanded);
126− tryCompare(category, "expanded", false);
129 function test_filter_expand_expand_collapse() {
126 function test_filter_expand_expand_collapse() {