Commit b80edf86 authored by Theresa's avatar Theresa Committed by Commit Bot

Disable flaky WheelScrollLatchingBrowserTest.WheelEventTarget

Disable this test on Android only.

TBR=sahel@chromium.org,dtapuska@chromium.org
BUG=894857

Change-Id: I3018030565a733de22b5c16a495a62211d8e1838
Reviewed-on: https://chromium-review.googlesource.com/c/1289081
Commit-Queue: Theresa <twellington@chromium.org>
Reviewed-by: default avatarTheresa <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600873}
parent 1f2ed082
......@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/run_loop.h"
#include "build/build_config.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_input_event_router.h"
#include "content/browser/web_contents/web_contents_impl.h"
......@@ -135,7 +136,13 @@ class WheelScrollLatchingBrowserTest : public ContentBrowserTest {
// wheel scroll latching is enabled the wheel event will be still sent to the
// document's scrolling element and the document's scrolling element will
// continue scrolling.
IN_PROC_BROWSER_TEST_F(WheelScrollLatchingBrowserTest, WheelEventTarget) {
// Disabled on Android due to flakiness. See https://crbug.com/894572.
#if defined(OS_ANDROID)
#define MAYBE_WheelEventTarget DISABLED_WheelEventTarget
#else
#define MAYBE_WheelEventTarget WheelEventTarget
#endif
IN_PROC_BROWSER_TEST_F(WheelScrollLatchingBrowserTest, MAYBE_WheelEventTarget) {
LoadURL(kWheelEventLatchingDataURL);
EXPECT_EQ(0, ExecuteScriptAndExtractInt("documentWheelEventCounter"));
EXPECT_EQ(0, ExecuteScriptAndExtractInt("scrollableDivWheelEventCounter"));
......
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