@@ -88,9 +88,11 @@ Rectangle {
8888 function test_expandedChanges() {
8989 var expandingItem = findChild(factory, "expandingItem");
9090 verify(!expandingItem.expanded)
91+ compare(expandingItem.height, expandingItem.collapsedHeight)
9192 mouseClick(expandingItem);
9293 verify(expandingItem.expanded)
93− tryCompare(expandingItem, "height", units.gu(15))
94+ tryCompare(expandingItem, "height", expandingItem.expandedHeight)
95+ verify(expandingItem.collapsedHeight < expandingItem.expandedHeight / 2);
9496 }
9597
9698 }