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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_browsertest.js

Issue 2440973003: Revert of Disable many tests with flaky accessibility audits. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | chrome/browser/ui/webui/options/certificate_manager_browsertest.js » ('j') | 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // TODO(crbug.com/617066) Flakes on Win. 120 // TODO(crbug.com/617066) Flakes on Win.
121 // TODO(crbug.com/657514) Flakes on linux and chromeos too. 121 GEN('#if defined(OS_WIN)');
122 GEN('#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)');
123 GEN('#define MAYBE_testAdvancedSettingsShown ' + 122 GEN('#define MAYBE_testAdvancedSettingsShown ' +
124 'DISABLED_testAdvancedSettingsShown'); 123 'DISABLED_testAdvancedSettingsShown');
125 GEN('#else'); 124 GEN('#else');
126 GEN('#define MAYBE_testAdvancedSettingsShown testAdvancedSettingsShown'); 125 GEN('#define MAYBE_testAdvancedSettingsShown testAdvancedSettingsShown');
127 GEN('#endif'); 126 GEN('#endif');
128 TEST_F('AdvancedSettingsWebUITest', 'MAYBE_testAdvancedSettingsShown', 127 TEST_F('AdvancedSettingsWebUITest', 'MAYBE_testAdvancedSettingsShown',
129 function() { 128 function() {
130 assertEquals(this.browsePreload, document.location.href); 129 assertEquals(this.browsePreload, document.location.href);
131 expectFalse($('advanced-settings').hidden); 130 expectFalse($('advanced-settings').hidden);
132 }); 131 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/certificate_manager_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698