@@ -147,11 +147,17 @@ IndicatorTest {
149 function test_progress_changes_state_to_reveal() {
149 function test_progress_changes_state_to_reveal() {
150+ var firstItem = get_indicator_item(0);
151+ var firstItemMappedPosition = indicatorsMenu.mapFromItem(firstItem, firstItem.width/2, firstItem.height/2);
152+ touchPress(indicatorsMenu, firstItemMappedPosition.x, indicatorsMenu.minimizedPanelHeight / 2);
150 indicatorsMenu.height = indicatorsMenu.openedHeight / 2;
154 indicatorsMenu.height = indicatorsMenu.openedHeight / 2;
151 compare(indicatorsMenu.state, "reveal", "Indicators should be revealing when partially opened.");
155 compare(indicatorsMenu.state, "reveal", "Indicators should be revealing when partially opened.");
153 indicatorsMenu.height = indicatorsMenu.openedHeight;
157 indicatorsMenu.height = indicatorsMenu.openedHeight;
154 compare(indicatorsMenu.state, "reveal", "Indicators should still be revealing when fully opened.");
158 compare(indicatorsMenu.state, "reveal", "Indicators should still be revealing when fully opened.");
160+ touchRelease(indicatorsMenu, firstItemMappedPosition.x, indicatorsMenu.minimizedPanelHeight / 2);
157 function test_open_state() {
163 function test_open_state() {