Skip to content

Commit 216348c

Browse files
committed
Revert "temporary commented testScroll()"
This reverts commit 848f740.
1 parent fa9936b commit 216348c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

java/client/test/org/openqa/selenium/qtwebkit/quick_tests/interactions/touch/TouchInteractionTests.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ public void testCanDownMoveUp() {
120120

121121
}
122122

123-
// @Test
124-
// public void testScroll() {
125-
// driver.get(pages.touchScrollTest);
126-
// int prewY = getLocationOnScreen(By.id("item6")).getY();
127-
// scrollElement("item6", 0, -200);
128-
// int newY = getLocationOnScreen(By.id("item6")).getY();
129-
// assertTrue("Got: " + newY, newY < prewY);
130-
// }
123+
@Test
124+
public void testScroll() {
125+
driver.get(pages.touchScrollTest);
126+
int prewY = getLocationOnScreen(By.id("item6")).getY();
127+
scrollElement("item6", 0, -200);
128+
int newY = getLocationOnScreen(By.id("item6")).getY();
129+
assertTrue("Got: " + newY, newY < prewY);
130+
}
131131

132132
@Test
133133
public void testFlick() {

0 commit comments

Comments
 (0)