Title: [257821] trunk/LayoutTests
- Revision
- 257821
- Author
- rn...@webkit.org
- Date
- 2020-03-03 20:48:48 -0800 (Tue, 03 Mar 2020)
Log Message
REGRESSION(iOS): editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html is always timing out
https://bugs.webkit.org/show_bug.cgi?id=208556
Reviewed by Wenson Hsieh.
Wait for the dobule tap delay between the initial tap and the second tap on the editable region
so that the second tap would result in a selection change instead of both taps to be recognized
as a single dobule tap.
* editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (257820 => 257821)
--- trunk/LayoutTests/ChangeLog 2020-03-04 03:49:49 UTC (rev 257820)
+++ trunk/LayoutTests/ChangeLog 2020-03-04 04:48:48 UTC (rev 257821)
@@ -1,3 +1,16 @@
+2020-03-03 Ryosuke Niwa <rn...@webkit.org>
+
+ REGRESSION(iOS): editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html is always timing out
+ https://bugs.webkit.org/show_bug.cgi?id=208556
+
+ Reviewed by Wenson Hsieh.
+
+ Wait for the dobule tap delay between the initial tap and the second tap on the editable region
+ so that the second tap would result in a selection change instead of both taps to be recognized
+ as a single dobule tap.
+
+ * editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html:
+
2020-03-03 Jacob Uphoff <jacob_uph...@apple.com>
[ iOS ] http/tests/navigation/process-swap-on-client-side-redirect-private.html is flaky timing out
Modified: trunk/LayoutTests/editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html (257820 => 257821)
--- trunk/LayoutTests/editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html 2020-03-04 03:49:49 UTC (rev 257820)
+++ trunk/LayoutTests/editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html 2020-03-04 04:48:48 UTC (rev 257821)
@@ -51,6 +51,10 @@
await UIHelper.activateElementAndWaitForInputSession(editor);
await UIHelper.activateElement(button);
+
+ await UIHelper.ensureStablePresentationUpdate();
+ await UIHelper.waitForDoubleTapDelay();
+
await tapAndWaitForSelectionChange(30, 30);
shouldBe("getSelection().rangeCount", "1");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes