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

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

Issue 2754563002: MD Settings: Lazy load the contents of the "advanced" settings. (Closed)
Patch Set: Address comments. Created 3 years, 9 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 Suite of tests for Easy Unlock within People section. */ 5 /** @fileoverview Suite of tests for Easy Unlock within People section. */
6 6
7 GEN_INCLUDE(['settings_page_browsertest.js']); 7 GEN_INCLUDE(['settings_page_browsertest.js']);
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 /** @type {?TestEasyUnlockBrowserProxy} */ 105 /** @type {?TestEasyUnlockBrowserProxy} */
106 var browserProxy = null; 106 var browserProxy = null;
107 107
108 /** @type {?CrSettingsPrefs} */ 108 /** @type {?CrSettingsPrefs} */
109 var prefs = null; 109 var prefs = null;
110 110
111 var self = this; 111 var self = this;
112 112
113 suite('SettingsEasyUnlock', function() { 113 suite('SettingsEasyUnlock', function() {
114 suiteSetup(function() { 114 suiteSetup(function() {
115 self.getPage('basic').set('pageVisibility.people', true); 115 self.basicPage.set('pageVisibility.people', true);
116 Polymer.dom.flush(); 116 Polymer.dom.flush();
117 117
118 // These overrides are necessary for this test to function on ChromeOS 118 // These overrides are necessary for this test to function on ChromeOS
119 // bots that do not have Bluetooth (don't actually support Easy Unlock). 119 // bots that do not have Bluetooth (don't actually support Easy Unlock).
120 loadTimeData.overrideValues({ 120 loadTimeData.overrideValues({
121 easyUnlockAllowed: true, 121 easyUnlockAllowed: true,
122 easyUnlockProximityDetectionAllowed: false, 122 easyUnlockProximityDetectionAllowed: false,
123 123
124 easyUnlockSectionTitle: '', 124 easyUnlockSectionTitle: '',
125 easyUnlockLearnMoreURL: '', 125 easyUnlockLearnMoreURL: '',
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 }).then(function() { 234 }).then(function() {
235 Polymer.dom.flush(); 235 Polymer.dom.flush();
236 expectFalse(turnOffDialog.$.dialog.open); 236 expectFalse(turnOffDialog.$.dialog.open);
237 }); 237 });
238 }); 238 });
239 }); 239 });
240 240
241 // Run all registered tests. 241 // Run all registered tests.
242 mocha.run(); 242 mocha.run();
243 }); 243 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/cr_settings_browsertest.js ('k') | chrome/test/data/webui/settings/ensure_lazy_loaded.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698