@@ -145,11 +145,17 @@ IndicatorTest {
147 function test_progress_changes_state_to_reveal() {
147 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);
148 indicatorsMenu.height = indicatorsMenu.openedHeight / 2;
152 indicatorsMenu.height = indicatorsMenu.openedHeight / 2;
149 compare(indicatorsMenu.state, "reveal", "Indicators should be revealing when partially opened.");
153 compare(indicatorsMenu.state, "reveal", "Indicators should be revealing when partially opened.");
151 indicatorsMenu.height = indicatorsMenu.openedHeight;
155 indicatorsMenu.height = indicatorsMenu.openedHeight;
152 compare(indicatorsMenu.state, "reveal", "Indicators should still be revealing when fully opened.");
156 compare(indicatorsMenu.state, "reveal", "Indicators should still be revealing when fully opened.");
158+ touchRelease(indicatorsMenu, firstItemMappedPosition.x, indicatorsMenu.minimizedPanelHeight / 2);
155 function test_open_state() {
161 function test_open_state() {