@@ -145,11 +145,17 @@ IndicatorTest {
145145 }
146146
147147 function test_progress_changes_state_to_reveal() {
148+ var firstItem = get_indicator_item(0);
149+ var firstItemMappedPosition = indicatorsMenu.mapFromItem(firstItem, firstItem.width/2, firstItem.height/2);
150+ touchPress(indicatorsMenu, firstItemMappedPosition.x, indicatorsMenu.minimizedPanelHeight / 2);
151+
148152 indicatorsMenu.height = indicatorsMenu.openedHeight / 2;
149153 compare(indicatorsMenu.state, "reveal", "Indicators should be revealing when partially opened.");
150154
151155 indicatorsMenu.height = indicatorsMenu.openedHeight;
152156 compare(indicatorsMenu.state, "reveal", "Indicators should still be revealing when fully opened.");
157+
158+ touchRelease(indicatorsMenu, firstItemMappedPosition.x, indicatorsMenu.minimizedPanelHeight / 2);
153159 }
154160
155161 function test_open_state() {