MD History: Move flaky focus tests into interactive UI tests
MD History has several tests which test how focus reacts to keyboard
shortcuts. These have been flaky in browser tests, failing most of the
time when run in parallel with other browser tests. This CL attempts to
restore these tests by moving them to interactive UI tests, where
they should always be run one at a time.
These are the first interactive UI tests which run tests in a WebUI
page, so several test files have been moved in the build to accommodate
this.
BUG=642467
Review-Url: https://codereview.chromium.org/2613503004
Cr-Commit-Position: refs/heads/master@{#443122}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 85d8ac9..20813f2 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -4428,6 +4428,13 @@
"ui/webui/signin/login_ui_test_utils.h",
]
+ if (!is_android) {
+ sources += [
+ "ui/webui/web_ui_test_handler.cc",
+ "ui/webui/web_ui_test_handler.h",
+ ]
+ }
+
configs += [ "//build/config:precompiled_headers" ]
deps = [