File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
java/client/test/org/openqa/selenium/qtwebkit/quick_tests/interactions/touch Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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 () {
You can’t perform that action at this time.
0 commit comments