Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4902)

Unified Diff: chrome/browser/ui/webui/options/autofill_options_browsertest.js

Issue 2036753003: Disable some flaky WebUI tests on Win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_browsertest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/autofill_options_browsertest.js
diff --git a/chrome/browser/ui/webui/options/autofill_options_browsertest.js b/chrome/browser/ui/webui/options/autofill_options_browsertest.js
index 29a778f00023ad500a962b4740221cbf4470641f..79109af940748222834a95b2f7307a7ea52b112f 100644
--- a/chrome/browser/ui/webui/options/autofill_options_browsertest.js
+++ b/chrome/browser/ui/webui/options/autofill_options_browsertest.js
@@ -41,8 +41,16 @@ AutofillOptionsWebUITest.prototype = {
browsePreload: 'chrome://settings-frame/autofill',
};
+// TODO(crbug.com/617066) Flakes on Win.
+GEN('#if defined(OS_WIN)');
+GEN('#define MAYBE_testOpenAutofillOptions ' +
+ 'DISABLED_testOpenAutofillOptions');
+GEN('#else');
+GEN('#define MAYBE_testOpenAutofillOptions testOpenAutofillOptions');
+GEN('#endif');
// Test opening the autofill options has correct location.
-TEST_F('AutofillOptionsWebUITest', 'testOpenAutofillOptions', function() {
+TEST_F('AutofillOptionsWebUITest', 'MAYBE_testOpenAutofillOptions',
+ function() {
assertEquals(this.browsePreload, document.location.href);
});
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698