| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // TODO(dbeam): test for loading upacked extensions? | 5 // TODO(dbeam): test for loading upacked extensions? |
| 6 | 6 |
| 7 GEN('#include "chrome/browser/ui/webui/extensions/' + | 7 GEN('#include "chrome/browser/ui/webui/extensions/' + |
| 8 'extension_settings_browsertest.h"'); | 8 'extension_settings_browsertest.h"'); |
| 9 | 9 |
| 10 // The id of the extension from |InstallGoodExtension|. | 10 // The id of the extension from |InstallGoodExtension|. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 * @type {string} | 44 * @type {string} |
| 45 * @const | 45 * @const |
| 46 */ | 46 */ |
| 47 browsePreload: 'chrome://extensions-frame/', | 47 browsePreload: 'chrome://extensions-frame/', |
| 48 | 48 |
| 49 /** @override */ | 49 /** @override */ |
| 50 typedefCppFixture: 'ExtensionSettingsUIBrowserTest', | 50 typedefCppFixture: 'ExtensionSettingsUIBrowserTest', |
| 51 | 51 |
| 52 /** @override */ | 52 /** @override */ |
| 53 setUp: function() { | 53 setUp: function() { |
| 54 testing.Test.prototype.setUp.call(this); | |
| 55 testing.Test.disableAnimationsAndTransitions(); | 54 testing.Test.disableAnimationsAndTransitions(); |
| 56 | |
| 57 // Enable when failure is resolved. | |
| 58 // AX_ARIA_08: http://crbug.com/560903 | |
| 59 this.accessibilityAuditConfig.ignoreSelectors( | |
| 60 'requiredOwnedAriaRoleMissing', | |
| 61 '#kiosk-app-list'); | |
| 62 }, | 55 }, |
| 63 | 56 |
| 64 /** | 57 /** |
| 65 * Holds an array of steps that should happen in order during a test. | 58 * Holds an array of steps that should happen in order during a test. |
| 66 * The last step should be |testDone|. | 59 * The last step should be |testDone|. |
| 67 * @protected {Array<!Function>} | 60 * @protected {Array<!Function>} |
| 68 * */ | 61 * */ |
| 69 steps: [], | 62 steps: [], |
| 70 | 63 |
| 71 /** | 64 /** |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 | 505 |
| 513 /** @override */ | 506 /** @override */ |
| 514 browsePreload: ExtensionSettingsWebUITest.prototype.browsePreload + | 507 browsePreload: ExtensionSettingsWebUITest.prototype.browsePreload + |
| 515 '?options=' + GOOD_EXTENSION_ID, | 508 '?options=' + GOOD_EXTENSION_ID, |
| 516 }; | 509 }; |
| 517 | 510 |
| 518 TEST_F('OptionsDialogExtensionSettingsWebUITest', 'testAccessibility', | 511 TEST_F('OptionsDialogExtensionSettingsWebUITest', 'testAccessibility', |
| 519 function() { | 512 function() { |
| 520 this.emptyTestForAccessibility(); | 513 this.emptyTestForAccessibility(); |
| 521 }); | 514 }); |
| OLD | NEW |