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

Side by Side 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, 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 GEN_INCLUDE(['options_browsertest_base.js']); 5 GEN_INCLUDE(['options_browsertest_base.js']);
6 6
7 /** 7 /**
8 * TestFixture for browser options WebUI testing. 8 * TestFixture for browser options WebUI testing.
9 * @extends {testing.Test} 9 * @extends {testing.Test}
10 * @constructor 10 * @constructor
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 */ 110 */
111 function AdvancedSettingsWebUITest() {} 111 function AdvancedSettingsWebUITest() {}
112 112
113 AdvancedSettingsWebUITest.prototype = { 113 AdvancedSettingsWebUITest.prototype = {
114 __proto__: OptionsBrowsertestBase.prototype, 114 __proto__: OptionsBrowsertestBase.prototype,
115 115
116 /** @override */ 116 /** @override */
117 browsePreload: 'chrome://settings-frame/autofill', 117 browsePreload: 'chrome://settings-frame/autofill',
118 }; 118 };
119 119
120 TEST_F('AdvancedSettingsWebUITest', 'testAdvancedSettingsShown', function() { 120 // TODO(crbug.com/617066) Flakes on Win.
121 GEN('#if defined(OS_WIN)');
122 GEN('#define MAYBE_testAdvancedSettingsShown ' +
123 'DISABLED_testAdvancedSettingsShown');
124 GEN('#else');
125 GEN('#define MAYBE_testAdvancedSettingsShown testAdvancedSettingsShown');
126 GEN('#endif');
127 TEST_F('AdvancedSettingsWebUITest', 'MAYBE_testAdvancedSettingsShown',
128 function() {
121 assertEquals(this.browsePreload, document.location.href); 129 assertEquals(this.browsePreload, document.location.href);
122 expectFalse($('advanced-settings').hidden); 130 expectFalse($('advanced-settings').hidden);
123 }); 131 });
OLDNEW
« 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