@@ -137,6 +137,8 @@ IndicatorTest {
138 function wait_for_expansion_to_settle() {
138 function wait_for_expansion_to_settle() {
139 waitUntilTransitionsEnd(indicatorsBar);
139 waitUntilTransitionsEnd(indicatorsBar);
140+ tryCompare(heightAnimation, "running", false);
141+ wait(UbuntuAnimation.SnapDuration); // put a little extra wait in for things to settle
142 // Rough check that expanding a selected item keeps it within the area of the original item.
144 // Rough check that expanding a selected item keeps it within the area of the original item.