Commit df363fc1 authored by Jazz Xu's avatar Jazz Xu Committed by Commit Bot

[Media Controls] Try minimizing volume slider layout test timeout

Change-Id: I390ffca8cb3273fc6e475695a3eeceb6324f741d
Reviewed-on: https://chromium-review.googlesource.com/c/1354649
Commit-Queue: Jazz Xu <jazzhsu@chromium.org>
Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612430}
parent a06485ba
......@@ -428,9 +428,8 @@ function runAfterDoubleTapTimerFired(func) {
}
function hoverMuteButton(video, func) {
// 150ms slack because the test could be flaky on Mac Test build
// even with volume slider delay set to 0ms
const delayedCallback = function() { setTimeout(func, 150); };
// Wait for hover timer fires
const delayedCallback = function() { setTimeout(func); };
const muteBtn = muteButton(video);
hoverOverControl(muteBtn, delayedCallback);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment