Skip to content

Commit a7ec527

Browse files
author
Robert Flack
committed
Disable chrome overlay scrollbar animations
Overlay scrollbar animations are time delayed and not web visible or testable. Disable timed animation delays to ensure ref tests do not fail based on how long it takes to capture the screenshot.
1 parent 1a5b135 commit a7ec527

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/wptrunner/wptrunner/browsers/chrome.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ def executor_kwargs(logger, test_type, test_environment, run_info_data, subsuite
158158
chrome_options["args"].append(
159159
"--ip-address-space-overrides=" + address_space_overrides_arg)
160160

161+
# Disable overlay scrollbar animations to prevent flaky wpt screenshots based on timing.
162+
chrome_options["args"].append("--disable-features=ScrollbarAnimations")
163+
161164
# Always disable antialiasing on the Ahem font.
162165
blink_features = ['DisableAhemAntialias']
163166

0 commit comments

Comments
 (0)