Changeset 251773 in webkit
- Timestamp:
- Oct 30, 2019 7:18:07 AM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r251770 r251773 1 2019-10-30 Megan Gardner <megan_gardner@apple.com> 2 3 Fix autoscroll test to work on iPad. 4 https://bugs.webkit.org/show_bug.cgi?id=203598 5 <rdar://problem/51863703> 6 7 Reviewed by Wenson Hsieh. 8 9 iPads are much taller than iPhones, so to test autoscrolling under a 10 software keyboard, we need to return several more times. 11 Also take the opportunity to make the test more robust to races. 12 13 * fast/events/autoscroll-with-software-keyboard.html: 14 * platform/ipad/TestExpectations: 15 1 16 2019-10-30 Frederic Wang <fwang@igalia.com> 2 17 -
trunk/LayoutTests/fast/events/autoscroll-with-software-keyboard.html
r244141 r251773 16 16 17 17 var output = ''; 18 var firstTargetRect = document.getElementById('editable').getBoundingClientRect();19 20 var pressPointX = firstTargetRect.x;21 var pressPointY = firstTargetRect.y;22 18 23 24 await tapAtPoint(pressPointX,pressPointY); 25 await UIHelper.enterText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nTest"); 19 await UIHelper.activateElementAndWaitForInputSession(document.getElementById('editable')); 20 await UIHelper.enterText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nTest"); 26 21 27 22 var firstPageOffset = window.pageYOffset; … … 32 27 output += '<br>'; 33 28 34 await UIHelper.enterText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n Test");29 await UIHelper.enterText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nTest"); 35 30 if (window.pageYOffset > 0 && window.pageYOffset > firstPageOffset) 36 31 output += 'PASS: page has continuted to scroll when caret is beyond the edge of the screen.'; -
trunk/LayoutTests/platform/ipad/TestExpectations
r251449 r251773 41 41 webkit.org/b/194259 fast/events/ios/viewport-no-width-value-allows-double-tap.html [ Skip ] 42 42 43 # <rdar://problem/51863703> [ iPad Sim ] New Layout test fast/events/autoscroll-with-software-keyboard.html is failing on iOS 13 iPad Simulator testers44 fast/events/autoscroll-with-software-keyboard.html [ Failure ]45 46 43 # This tests an iphone-specific behavior so is expected to fail on iPad. 47 44 fast/scrolling/ios/overflow-scrolling-touch-enabled-stacking.html [ ImageOnlyFailure ]
Note: See TracChangeset
for help on using the changeset viewer.