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

Side by Side Diff: chrome/test/data/webui/settings/site_settings_page_browsertest.js

Issue 2840293002: Disable flaky tests on Windows dbg (timeouts) (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « chrome/test/data/webui/settings/cr_settings_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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 /** @fileoverview Site settings page tests. */ 5 /** @fileoverview Site settings page tests. */
6 6
7 GEN_INCLUDE(['settings_page_browsertest.js']); 7 GEN_INCLUDE(['settings_page_browsertest.js']);
8 /** 8 /**
9 * @constructor 9 * @constructor
10 * @extends {SettingsPageBrowserTest} 10 * @extends {SettingsPageBrowserTest}
11 */ 11 */
12 function SettingsSiteSettingsPageBrowserTest() {} 12 function SettingsSiteSettingsPageBrowserTest() {}
13 13
14 SettingsSiteSettingsPageBrowserTest.prototype = { 14 SettingsSiteSettingsPageBrowserTest.prototype = {
15 __proto__: SettingsPageBrowserTest.prototype, 15 __proto__: SettingsPageBrowserTest.prototype,
16 }; 16 };
17 17
18 // Failing on ChromiumOS dbg. https://crbug.com/709442 18 // Failing on ChromiumOS dbg. https://crbug.com/709442
19 GEN('#if defined(OS_CHROMEOS) && !defined(NDEBUG)'); 19 GEN('#if (defined(OS_WIN) || defined(OS_CHROMEOS)) && !defined(NDEBUG)');
20 GEN('#define MAYBE_labels DISABLED_labels'); 20 GEN('#define MAYBE_labels DISABLED_labels');
21 GEN('#else'); 21 GEN('#else');
22 GEN('#define MAYBE_labels labels'); 22 GEN('#define MAYBE_labels labels');
23 GEN('#endif'); 23 GEN('#endif');
24 TEST_F('SettingsSiteSettingsPageBrowserTest', 'MAYBE_labels', function() { 24 TEST_F('SettingsSiteSettingsPageBrowserTest', 'MAYBE_labels', function() {
25 suite('Site settings page', function() { 25 suite('Site settings page', function() {
26 var ui; 26 var ui;
27 27
28 suiteSetup(function() { 28 suiteSetup(function() {
29 ui = assert(document.createElement('settings-site-settings-page')); 29 ui = assert(document.createElement('settings-site-settings-page'));
(...skipping 14 matching lines...) Expand all
44 settings.PermissionValues.DEFAULT, 'a', 'b', 'c')); 44 settings.PermissionValues.DEFAULT, 'a', 'b', 'c'));
45 assertEquals('c', ui.defaultSettingLabel_( 45 assertEquals('c', ui.defaultSettingLabel_(
46 settings.PermissionValues.ASK, 'a', 'b', 'c')); 46 settings.PermissionValues.ASK, 'a', 'b', 'c'));
47 assertEquals('c', ui.defaultSettingLabel_( 47 assertEquals('c', ui.defaultSettingLabel_(
48 settings.PermissionValues.DETECT_IMPORTANT_CONTENT, 'a', 'b', 'c')); 48 settings.PermissionValues.DETECT_IMPORTANT_CONTENT, 'a', 'b', 'c'));
49 }); 49 });
50 }); 50 });
51 51
52 mocha.run(); 52 mocha.run();
53 }); 53 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/cr_settings_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698