Title: [276673] trunk/LayoutTests
Revision
276673
Author
[email protected]
Date
2021-04-27 15:46:11 -0700 (Tue, 27 Apr 2021)

Log Message

REGRESSION (r273154): fast/forms/ios/scroll-to-reveal-focused-select.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=225122
<rdar://problem/77041996>

Reviewed by Wenson Hsieh.

* fast/forms/ios/scroll-to-reveal-focused-select.html:

Updated the test to account for the fact that <select> options are no
longer displayed as a keyboard input view.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (276672 => 276673)


--- trunk/LayoutTests/ChangeLog	2021-04-27 22:31:35 UTC (rev 276672)
+++ trunk/LayoutTests/ChangeLog	2021-04-27 22:46:11 UTC (rev 276673)
@@ -1,3 +1,16 @@
+2021-04-27  Aditya Keerthi  <[email protected]>
+
+        REGRESSION (r273154): fast/forms/ios/scroll-to-reveal-focused-select.html is timing out
+        https://bugs.webkit.org/show_bug.cgi?id=225122
+        <rdar://problem/77041996>
+
+        Reviewed by Wenson Hsieh.
+
+        * fast/forms/ios/scroll-to-reveal-focused-select.html:
+
+        Updated the test to account for the fact that <select> options are no
+        longer displayed as a keyboard input view.
+
 2021-04-27  Alexey Shvayka  <[email protected]>
 
         [JSC] Remove defaultValue() from the method table

Modified: trunk/LayoutTests/fast/forms/ios/scroll-to-reveal-focused-select.html (276672 => 276673)


--- trunk/LayoutTests/fast/forms/ios/scroll-to-reveal-focused-select.html	2021-04-27 22:31:35 UTC (rev 276672)
+++ trunk/LayoutTests/fast/forms/ios/scroll-to-reveal-focused-select.html	2021-04-27 22:46:11 UTC (rev 276673)
@@ -51,15 +51,22 @@
     if (!window.testRunner)
         return;
 
+    // Focus the first select element.
     await UIHelper.activateAndWaitForInputSessionAt(160, 40);
+    document.activeElement.blur();
+    await UIHelper.waitForContextMenuToHide();
+
+    // Focus the second select element.
     await tapAtLocationAndWaitForScrollingToEnd(160, 120);
+    await UIHelper.waitForContextMenuToShow();
 
     shouldBe("document.activeElement", "document.getElementById('bottom')");
     shouldBeGreaterThanOrEqual("pageYOffset", "1000");
 
     document.activeElement.blur();
-    await UIHelper.waitForKeyboardToHide();
+    await UIHelper.waitForContextMenuToHide();
     tapToFocus.remove();
+
     finishJSTest();
 }
 </script>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to