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

Unified Diff: chrome/test/data/webui/settings/settings_passwords_section_browsertest.js

Issue 2762433002: MD Settings: move autofill and manage password toggles to their subpages. (Closed)
Patch Set: use this.i18n instead 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
« no previous file with comments | « chrome/test/data/webui/settings/settings_autofill_section_browsertest.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..54113dd388677d87053866f566767d9426ba2be8 100644
--- a/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
@@ -181,6 +181,19 @@ TEST_F('SettingsPasswordSectionBrowserTest', 'uiTests', function() {
PasswordManagerImpl.instance_ = passwordManager;
});
+ test('testPasswordsExtensionIndicator', function() {
+ // Initialize with dummy prefs.
+ var element = document.createElement('passwords-section');
+ element.prefs = {credentials_enable_service: {}};
+ document.body.appendChild(element);
+
+ assertFalse(!!element.$$('#passwordsExtensionIndicator'));
+ element.set('prefs.credentials_enable_service.extensionId', 'test-id');
+ Polymer.dom.flush();
+
+ assertTrue(!!element.$$('#passwordsExtensionIndicator'));
+ });
+
test('verifyNoSavedPasswords', function() {
var passwordsSection = createPasswordsSection(passwordManager, [], []);
« no previous file with comments | « chrome/test/data/webui/settings/settings_autofill_section_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698