@@ -136,8 +136,7 @@ IndicatorTest {
136136 }
137137
138138 function wait_for_expansion_to_settle() {
139− tryCompare(heightAnimation, "running", false);
140− wait(UbuntuAnimation.SnapDuration); // put a little extra wait in for things to settle
139+ waitUntilTransitionsEnd(indicatorsBar);
141140 }
142141
143142 // Rough check that expanding a selected item keeps it within the area of the original item.
@@ -151,7 +150,6 @@ IndicatorTest {
151150 indicatorsBar.expanded = true;
152151 wait_for_expansion_to_settle();
153152
154−
155153 // mappedPosition contained within mappedRect
156154 tryCompareFunction(function() {
157155 var mappedRect = indicatorsBar.mapFromItem(dataItem, 0, 0, dataItem.width, dataItem.height);
@@ -203,8 +201,8 @@ IndicatorTest {
203201
204202 function test_visibleIndicators_data() {
205203 return [
206− { visible: [true, false, true, false, true, true] },
207− { visible: [false, false, false, false, false, false] }
204+ { visible: [true, false, true, false, true, true, false, true] },
205+ { visible: [false, false, false, false, false, false, true, false] }
208206 ];
209207 }
210208