Changeset 283395 in webkit
- Timestamp:
- Oct 1, 2021, 1:32:43 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered-expected.txt (modified) (1 diff)
-
fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r283388 r283395 1 2021-10-01 Simon Fraser <simon.fraser@apple.com> 2 3 Fix flaky test: fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered.html 4 https://bugs.webkit.org/show_bug.cgi?id=231093 5 6 Reviewed by Alan Bujtas. 7 8 This test dumped overlay scrollbar state, but that state is timing-dependent since 9 AppKit changes it via animations. Rather than printing the full state, just 10 print the expanded and enabled states, since those are the states necessary for 11 the test to pass. 12 13 * fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered-expected.txt: 14 * fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered.html: 15 1 16 2021-10-01 Ayumi Kojima <ayumi_kojima@apple.com> 2 17 -
trunk/LayoutTests/fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered-expected.txt
r261132 r283395 7 7 enabled 8 8 Hovering vertical scrollbar should show expanded scrollbar 9 PASS Scrollbar state: enabled,expanded,visible_track,visible_thumb9 PASS Scrollbar is enabled and expanded 10 10 Unhovering vertical scrollbar should hide it 11 11 PASS Thumb and track hidden -
trunk/LayoutTests/fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered.html
r269360 r283395 47 47 await UIHelper.waitForCondition(() => { 48 48 let state = internals.verticalScrollbarState(scroller); 49 let enabled = state.indexOf('enabled') != -1; 49 50 let expanded = state.indexOf('expanded') != -1; 50 if (e xpanded)51 testPassed('Scrollbar state: ' + state);51 if (enabled && expanded) 52 testPassed('Scrollbar is enabled and expanded'); 52 53 return expanded; 53 54 });
Note:
See TracChangeset
for help on using the changeset viewer.