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

Unified Diff: chrome/test/data/webui/settings/settings_passwords_section_browsertest.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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
diff --git a/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js b/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
index 5b62d2e583b2fa432b492c70f003718dcd92527f..489e7a9264671df7ff7ec072b8404231dc738e53 100644
--- a/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
@@ -29,15 +29,18 @@ SettingsPasswordSectionBrowserTest.prototype = {
'chrome://md-settings/passwords_and_forms_page/passwords_section.html',
/** @override */
- extraLibraries: PolymerTest.getLibraries(ROOT_PATH),
+ extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
+ 'ensure_lazy_loaded.js',
+ ]),
/** @override */
setUp: function() {
PolymerTest.prototype.setUp.call(this);
// Test is run on an individual element that won't have a page language.
this.accessibilityAuditConfig.auditRulesToIgnore.push('humanLangMissing');
- },
+ settings.ensureLazyLoaded();
+ },
};
/** This test will validate that the section is loaded with data. */

Powered by Google App Engine
This is Rietveld 408576698