Title: [261062] trunk/LayoutTests
Revision
261062
Author
[email protected]
Date
2020-05-03 08:59:09 -0700 (Sun, 03 May 2020)

Log Message

Unreviewed test cleanup.

Remove some unused elements from these tests, and send a couple of mouseMoved
events to reduce the chances of flakiness.

* fast/scrolling/mac/scrollbars/overlay-scrollbar-hovered.html:
* fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal-expected.txt:
* fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (261061 => 261062)


--- trunk/LayoutTests/ChangeLog	2020-05-03 09:53:55 UTC (rev 261061)
+++ trunk/LayoutTests/ChangeLog	2020-05-03 15:59:09 UTC (rev 261062)
@@ -1,3 +1,14 @@
+2020-05-03  Simon Fraser  <[email protected]>
+
+        Unreviewed test cleanup.
+
+        Remove some unused elements from these tests, and send a couple of mouseMoved
+        events to reduce the chances of flakiness.
+
+        * fast/scrolling/mac/scrollbars/overlay-scrollbar-hovered.html:
+        * fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal-expected.txt:
+        * fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal.html:
+
 2020-05-02  Mark Lam  <[email protected]>
 
         editing/undo-manager/undo-manager-delete-stale-undo-items.html is timing out.

Modified: trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-hovered.html (261061 => 261062)


--- trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-hovered.html	2020-05-03 09:53:55 UTC (rev 261061)
+++ trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-hovered.html	2020-05-03 15:59:09 UTC (rev 261062)
@@ -37,6 +37,7 @@
 
             debug('Unhovering vertical scrollbar should hide it');
             await UIHelper.moveMouseAndWaitForFrame(windowWidth - 20, 10);
+            await UIHelper.moveMouseAndWaitForFrame(windowWidth - 25, 10);
             await UIHelper.waitForCondition(() => {
                 let state = internals.verticalScrollbarState();
                 let thumbHidden = state.indexOf('visible_thumb') == -1;
@@ -55,12 +56,6 @@
     </script>
 </head>
 <body>
-    <div class="auto scroller">
-        <div class="contents"></div>
-    </div>
-    <div class="scroll scroller">
-        <div class="contents"></div>
-    </div>
     <script src=""
 </body>
 </html>

Modified: trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal-expected.txt (261061 => 261062)


--- trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal-expected.txt	2020-05-03 09:53:55 UTC (rev 261061)
+++ trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal-expected.txt	2020-05-03 15:59:09 UTC (rev 261062)
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-Document
+Initial state
 enabled
 MayBegin should show the scrollbar
 PASS Scrollbar state: enabled,visible_thumb

Modified: trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal.html (261061 => 261062)


--- trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal.html	2020-05-03 09:53:55 UTC (rev 261061)
+++ trunk/LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal.html	2020-05-03 15:59:09 UTC (rev 261062)
@@ -20,7 +20,7 @@
             if (!window.internals)
                 return;
             
-            debug('Document');
+            debug('Initial state');
             debug(internals.verticalScrollbarState());
             
             let windowWidth = window.innerWidth;
@@ -55,12 +55,6 @@
     </script>
 </head>
 <body>
-    <div class="auto scroller">
-        <div class="contents"></div>
-    </div>
-    <div class="scroll scroller">
-        <div class="contents"></div>
-    </div>
     <script src=""
 </body>
 </html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to