fast/forms/ios/file-upload-panel.html is flaky on iOS 13
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Aug 2019 03:45:39 +0000 (03:45 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Aug 2019 03:45:39 +0000 (03:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=200357
<rdar://problem/53028551>

Reviewed by Zalan Bujtas.

Use UIHelper.activateElementAtHumanSpeed() instead of UIHelper.activateElement()
to address flakiness. If the button taps are issued to quickly, some of them
get swallowed.

* fast/forms/ios/file-upload-panel.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248145 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/forms/ios/file-upload-panel.html

index bd94bf4..d524e2e 100644 (file)
@@ -1,3 +1,17 @@
+2019-08-01  Chris Dumez  <cdumez@apple.com>
+
+        fast/forms/ios/file-upload-panel.html is flaky on iOS 13
+        https://bugs.webkit.org/show_bug.cgi?id=200357
+        <rdar://problem/53028551>
+
+        Reviewed by Zalan Bujtas.
+
+        Use UIHelper.activateElementAtHumanSpeed() instead of UIHelper.activateElement()
+        to address flakiness. If the button taps are issued to quickly, some of them
+        get swallowed.
+
+        * fast/forms/ios/file-upload-panel.html:
+
 2019-08-01  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [Text autosizing] [iPadOS] Add targeted hacks to address some remaining text autosizing issues
index b22df27..d3697b8 100644 (file)
@@ -52,7 +52,7 @@ function runAcceptTest(accept, expectedMenuItems)
         debug("* accept = " + accept);
         testInput.accept = accept;
 
-        UIHelper.activateElement(testInput).then(() => {
+        UIHelper.activateElementAtHumanSpeed(testInput).then(() => {
             getFileUploadPickerMenuItems().then((_items) => {
                 items = _items;
                 shouldBeTrue("areArraysEqual(items, " + expectedMenuItems + ")");