Changeset 244210 in webkit


Ignore:
Timestamp:
Apr 11, 2019 11:02:50 PM (5 years ago)
Author:
Megan Gardner
Message:

Fix flaky LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html
https://bugs.webkit.org/show_bug.cgi?id=196840

Reviewed by Tim Horton.

Use more stable test infrastructure to conduct input tests.

  • fast/events/autoscroll-when-input-is-offscreen.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r244202 r244210  
     12019-04-11  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Fix flaky LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html
     4        https://bugs.webkit.org/show_bug.cgi?id=196840
     5
     6        Reviewed by Tim Horton.
     7
     8        Use more stable test infrastructure to conduct input tests.
     9
     10        * fast/events/autoscroll-when-input-is-offscreen.html:
     11
    1122019-04-11  Zalan Bujtas  <zalan@apple.com>
    213
  • trunk/LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html

    r244141 r244210  
    1616   
    1717        var output = '';
    18         var firstTargetRect = document.getElementById('editable').getBoundingClientRect();
    1918
    20         var pressPointX = firstTargetRect.x;
    21         var pressPointY = firstTargetRect.y;
    22 
    23    
    24         await tapAtPoint(pressPointX,pressPointY);
     19        await UIHelper.activateElementAndWaitForInputSession(document.getElementById('editable'));
    2520       
    2621        var programaticScroll = 500;
Note: See TracChangeset for help on using the changeset viewer.