OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** | 5 /** |
6 * @extends {testing.Test} | 6 * @extends {testing.Test} |
7 * @constructor | 7 * @constructor |
8 */ | 8 */ |
9 function SettingsBasicBrowserTest() {} | 9 function SettingsBasicBrowserTest() {} |
10 | 10 |
11 SettingsBasicBrowserTest.prototype = { | 11 SettingsBasicBrowserTest.prototype = { |
12 __proto__: testing.Test.prototype, | 12 __proto__: testing.Test.prototype, |
13 | 13 |
14 /** @override */ | 14 /** @override */ |
15 browsePreload: 'chrome://md-settings/', | 15 browsePreload: 'chrome://md-settings/', |
16 | 16 |
17 /** | 17 /** |
18 * TODO(dpapad): Fix accessibility issues and enable checks. | 18 * TODO(dpapad): Fix accessibility issues and enable checks. |
19 * @override | 19 * @override |
20 */ | 20 */ |
21 runAccessibilityChecks: false, | 21 runAccessibilityChecks: false, |
22 }; | 22 }; |
23 | 23 |
24 TEST_F('SettingsBasicBrowserTest', 'NoConsoleErrors', function() { | 24 // Flaky timeout failures on Linux Tests (dbg) and Win7 Tests (dbg); see |
| 25 // https://crbug.com/558434. |
| 26 TEST_F('SettingsBasicBrowserTest', 'DISABLED_NoConsoleErrors', function() { |
25 assertEquals(this.browsePreload, document.location.href); | 27 assertEquals(this.browsePreload, document.location.href); |
26 // Nothing else to assert here. If there are errors in the console the test | 28 // Nothing else to assert here. If there are errors in the console the test |
27 // will automatically fail. | 29 // will automatically fail. |
28 }); | 30 }); |
OLD | NEW |