@@ -53,6 +53,9 @@ IndicatorTest {
5353 openedHeight: parent.height
5454 indicatorsModel: root.indicatorsModel
5555 shown: false
56+
57+ // no vertical movement allowed while dragging
58+ verticalVelocityThreashold: 0
5659 }
5760 }
5861
@@ -120,12 +123,10 @@ IndicatorTest {
120123
121124 function test_progress_changes_state_to_reveal() {
122125 indicatorsMenu.height = indicatorsMenu.openedHeight / 2;
123− compare(indicatorsMenu.state, "reveal", "Indicators should be locked when fully opened.");
124− }
126+ compare(indicatorsMenu.state, "reveal", "Indicators should be revealing when partially opened.");
125127
126− function test_progress_changes_state_to_locked() {
127128 indicatorsMenu.height = indicatorsMenu.openedHeight;
128− compare(indicatorsMenu.state, "locked", "Indicators should be locked when fully opened.");
129+ compare(indicatorsMenu.state, "reveal", "Indicators should still be revealing when fully opened.");
129130 }
130131
131132 function test_open_state() {
@@ -218,10 +219,14 @@ IndicatorTest {
218219 touchFlick(indicatorsMenu,
219220 firstItemMappedPosition.x, indicatorsMenu.minimizedPanelHeight * 2,
220221 nextItemMappedPosition.x, indicatorsMenu.openedHeight / 3,
221− false /* beginTouch */, true /* endTouch */,
222− units.gu(5) /* speed */, 10 /* iterations */); // more samples needed for accurate velocity
222+ false /* beginTouch */, false /* endTouch */,
223+ units.gu(50) /* speed */, 5 /* iterations */); // more samples needed for accurate velocity
223224
224225 compare(indicatorItemRow.currentItem, firstItem, "First indicator should still be the current item");
226+ // after waiting in the same spot with touch down, it should update to the next item.
227+ tryCompare(indicatorItemRow, "currentItem", nextItem);
228+
229+ touchRelease(indicatorsMenu, nextItemMappedPosition.x, indicatorsMenu.openedHeight / 3);
225230 }
226231 }
227232}