| Index: chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| diff --git a/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js b/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| index 30e8e862acf8b882ec873e7bf65fc4ed039827d8..6eee16d4e2279d6b136c1ce5ed088afd2e94dcdb 100644
|
| --- a/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| +++ b/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| @@ -170,6 +170,25 @@ SettingsAutofillSectionBrowserTest.prototype = {
|
| },
|
| };
|
|
|
| +TEST_F('SettingsAutofillSectionBrowserTest', 'uiTest', function() {
|
| + suite('AutofillSection', function() {
|
| + test('testAutofillExtensionIndicator', function() {
|
| + // Initializing with fake prefs
|
| + var section = document.createElement('settings-autofill-section');
|
| + section.prefs = {autofill: {enabled: {}}};
|
| + document.body.appendChild(section);
|
| +
|
| + assertFalse(!!section.$$('#autofillExtensionIndicator'));
|
| + section.set('prefs.autofill.enabled.extensionId', 'test-id');
|
| + Polymer.dom.flush();
|
| +
|
| + assertTrue(!!section.$$('#autofillExtensionIndicator'));
|
| + });
|
| + });
|
| +
|
| + mocha.run();
|
| +});
|
| +
|
| TEST_F('SettingsAutofillSectionBrowserTest', 'CreditCardTests', function() {
|
| var self = this;
|
|
|
|
|