@@ -207,11 +207,12 @@ Item {
207207 shell.width = units.gu(20)
208208 var categoryListView = findChild(genericScopeView, "categoryListView");
209209 categoryListView.contentY = units.gu(20);
210− var seeAll = findChild(category, "seeAll")
210+ var seeAll = findChild(category, "seeAll");
211+ var floatingSeeLess = findChild(genericScopeView, "floatingSeeLess");
211212 mouseClick(seeAll, seeAll.width / 2, seeAll.height / 2);
212213 tryCompare(category, "expanded", true);
213− tryCompareFunction(function() { return category.item.height == genericScopeView.height - category.item.displayMarginBeginning - category.item.displayMarginEnd; }, true);
214− mouseClick(seeAll, seeAll.width / 2, seeAll.height / 2);
214+ tryCompareFunction(function() { return category.item.height + floatingSeeLess.height == genericScopeView.height - category.item.displayMarginBeginning - category.item.displayMarginEnd; }, true);
215+ mouseClick(floatingSeeLess, floatingSeeLess.width / 2, floatingSeeLess.height / 2);
215216 tryCompare(category, "expanded", false);
216217 }
217218