| 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, [], []);
|
|
|
|
|