Title: [244449] trunk/LayoutTests
Revision
244449
Author
[email protected]
Date
2019-04-18 21:18:25 -0700 (Thu, 18 Apr 2019)

Log Message

Update autoscroll test to lift at the end and be less flakey
https://bugs.webkit.org/show_bug.cgi?id=197084

Test not lifting at the end caused issues for other tests.
Also the positions were a bit too exact and caused the
test to be flakey. These new positions should result in more consistent
behaviour.

Reviewed by Tim Horton.

* fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (244448 => 244449)


--- trunk/LayoutTests/ChangeLog	2019-04-19 03:28:35 UTC (rev 244448)
+++ trunk/LayoutTests/ChangeLog	2019-04-19 04:18:25 UTC (rev 244449)
@@ -1,3 +1,17 @@
+2019-04-18  Megan Gardner  <[email protected]>
+
+        Update autoscroll test to lift at the end and be less flakey
+        https://bugs.webkit.org/show_bug.cgi?id=197084
+
+        Test not lifting at the end caused issues for other tests.
+        Also the positions were a bit too exact and caused the
+        test to be flakey. These new positions should result in more consistent
+        behaviour.
+
+        Reviewed by Tim Horton.
+
+        * fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html:
+
 2019-04-18  Justin Fan  <[email protected]>
 
         [WebGPU] Implement API default values

Modified: trunk/LayoutTests/fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html (244448 => 244449)


--- trunk/LayoutTests/fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html	2019-04-19 03:28:35 UTC (rev 244448)
+++ trunk/LayoutTests/fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html	2019-04-19 04:18:25 UTC (rev 244449)
@@ -28,8 +28,9 @@
             await didShowKeyboard();
             await longPressAndHoldAtPoint(tapPointX, tapPointY);
             await continueTouchAndDragFromPointToPoint(tapPointX, tapPointY, dragX, tapPointY);
-            await holdAtPoint(dragX, tapPointY, 2.0);
-            await continueTouchAndDragFromPointToPoint(dragX, tapPointY, dragX + 5, tapPointY);
+            await holdAtPoint(dragX, tapPointY + 20, 1.0);
+            await continueTouchAndDragFromPointToPoint(dragX, tapPointY + 20, dragX + 5, tapPointY + 20);
+            await liftUpAtPoint(dragX + 5, tapPointY + 20);
             if (scrollBox.scrollLeft > 0)
                 output += 'PASS: Text Box has been scrolled.';
             else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to