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

Unified Diff: chrome/browser/ui/webui/options/browser_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, 7 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 | « chrome/browser/ui/webui/options/autofill_options_browsertest.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_browsertest.js
diff --git a/chrome/browser/ui/webui/options/browser_options_browsertest.js b/chrome/browser/ui/webui/options/browser_options_browsertest.js
index 4415c04fa92c55a1a0fa693c0f8989c1b0501fc2..b5713f60ca6b113fffd262491b6b8c80d3a7e24b 100644
--- a/chrome/browser/ui/webui/options/browser_options_browsertest.js
+++ b/chrome/browser/ui/webui/options/browser_options_browsertest.js
@@ -117,7 +117,15 @@ AdvancedSettingsWebUITest.prototype = {
browsePreload: 'chrome://settings-frame/autofill',
};
-TEST_F('AdvancedSettingsWebUITest', 'testAdvancedSettingsShown', function() {
+// TODO(crbug.com/617066) Flakes on Win.
+GEN('#if defined(OS_WIN)');
+GEN('#define MAYBE_testAdvancedSettingsShown ' +
+ 'DISABLED_testAdvancedSettingsShown');
+GEN('#else');
+GEN('#define MAYBE_testAdvancedSettingsShown testAdvancedSettingsShown');
+GEN('#endif');
+TEST_F('AdvancedSettingsWebUITest', 'MAYBE_testAdvancedSettingsShown',
+ function() {
assertEquals(this.browsePreload, document.location.href);
expectFalse($('advanced-settings').hidden);
});
« no previous file with comments | « chrome/browser/ui/webui/options/autofill_options_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698