OLD | NEW |
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 Runs the Polymer Passwords and Forms tests. */ | 5 /** @fileoverview Runs the Polymer Passwords and Forms tests. */ |
6 | 6 |
7 /** @const {string} Path to root from chrome/test/data/webui/settings/. */ | 7 /** @const {string} Path to root from chrome/test/data/webui/settings/. */ |
8 var ROOT_PATH = '../../../../../'; | 8 var ROOT_PATH = '../../../../../'; |
9 | 9 |
10 // Polymer BrowserTest fixture. | 10 // Polymer BrowserTest fixture. |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 expected.requested.addresses = 1; | 322 expected.requested.addresses = 1; |
323 expected.requested.creditCards = 1; | 323 expected.requested.creditCards = 1; |
324 expected.listening.addresses = 1; | 324 expected.listening.addresses = 1; |
325 expected.listening.creditCards = 1; | 325 expected.listening.creditCards = 1; |
326 return expected; | 326 return expected; |
327 }, | 327 }, |
328 }; | 328 }; |
329 | 329 |
330 /** | 330 /** |
331 * This test will validate that the section is loaded with data. | 331 * This test will validate that the section is loaded with data. |
| 332 * TODO(dbeam/hcarmona): fix these tests. |
332 */ | 333 */ |
333 TEST_F('PasswordsAndFormsBrowserTest', 'uiTests', function() { | 334 TEST_F('PasswordsAndFormsBrowserTest', 'DISABLED_uiTests', function() { |
334 var self = this; | 335 var self = this; |
335 | 336 |
336 suite('PasswordsAndForms', function() { | 337 suite('PasswordsAndForms', function() { |
337 test('baseLoadAndRemove', function() { | 338 test('baseLoadAndRemove', function() { |
338 var element = self.createPasswordsAndFormsElement(); | 339 var element = self.createPasswordsAndFormsElement(); |
339 | 340 |
340 var passwordsExpectations = self.basePasswordExpectations(); | 341 var passwordsExpectations = self.basePasswordExpectations(); |
341 self.passwordManager.assertExpectations(passwordsExpectations); | 342 self.passwordManager.assertExpectations(passwordsExpectations); |
342 | 343 |
343 var autofillExpectations = self.baseAutofillExpectations(); | 344 var autofillExpectations = self.baseAutofillExpectations(); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 assertTrue(element.$.autofillManagerButton.hasAttribute('actionable')); | 442 assertTrue(element.$.autofillManagerButton.hasAttribute('actionable')); |
442 assertTrue(element.$.passwordManagerButton.hasAttribute('actionable')); | 443 assertTrue(element.$.passwordManagerButton.hasAttribute('actionable')); |
443 | 444 |
444 self.destroyPrefs(prefs); | 445 self.destroyPrefs(prefs); |
445 }); | 446 }); |
446 }); | 447 }); |
447 }); | 448 }); |
448 | 449 |
449 mocha.run(); | 450 mocha.run(); |
450 }); | 451 }); |
OLD | NEW |