| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 Media Router Polymer elements tests. */ | 5 /** @fileoverview Runs the Media Router Polymer elements tests. */ |
| 6 | 6 |
| 7 /** @const {string} Path to source root. */ | 7 /** @const {string} Path to source root. */ |
| 8 var ROOT_PATH = '../../../../../'; | 8 var ROOT_PATH = '../../../../../'; |
| 9 | 9 |
| 10 // Polymer BrowserTest fixture. | 10 // Polymer BrowserTest fixture. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 var requiredOwnedAriaRoleMissingSelectors = [ | 63 var requiredOwnedAriaRoleMissingSelectors = [ |
| 64 '#cast-mode-list', | 64 '#cast-mode-list', |
| 65 '#sink-list' | 65 '#sink-list' |
| 66 ]; | 66 ]; |
| 67 | 67 |
| 68 // Enable when failure is resolved. | 68 // Enable when failure is resolved. |
| 69 // AX_ARIA_08: http://crbug.com/591552 | 69 // AX_ARIA_08: http://crbug.com/591552 |
| 70 this.accessibilityAuditConfig.ignoreSelectors( | 70 this.accessibilityAuditConfig.ignoreSelectors( |
| 71 'requiredOwnedAriaRoleMissing', requiredOwnedAriaRoleMissingSelectors); | 71 'requiredOwnedAriaRoleMissing', requiredOwnedAriaRoleMissingSelectors); |
| 72 | |
| 73 // Enable when warning is resolved. | |
| 74 // AX_FOCUS_01: http://crbug.com/591553 | |
| 75 this.accessibilityAuditConfig.ignoreSelectors( | |
| 76 'focusableElementNotVisibleAndNotAriaHidden', '#device-missing > A'); | |
| 77 | |
| 78 // Enable when warning is resolved. | |
| 79 // AX_TEXT_04: http://crbug.com/591554 | |
| 80 this.accessibilityAuditConfig.ignoreSelectors( | |
| 81 'linkWithUnclearPurpose', '#device-missing > A'); | |
| 82 }, | 72 }, |
| 83 }; | 73 }; |
| 84 | 74 |
| 85 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner', | 75 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner', |
| 86 function() { | 76 function() { |
| 87 // Register mocha tests for the issue banner. | 77 // Register mocha tests for the issue banner. |
| 88 issue_banner.registerTests(); | 78 issue_banner.registerTests(); |
| 89 | 79 |
| 90 // Run all registered tests. | 80 // Run all registered tests. |
| 91 mocha.run(); | 81 mocha.run(); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 124 |
| 135 TEST_F('MediaRouterElementsBrowserTest', | 125 TEST_F('MediaRouterElementsBrowserTest', |
| 136 'MediaRouterElementsTestMediaRouterRouteDetails', | 126 'MediaRouterElementsTestMediaRouterRouteDetails', |
| 137 function() { | 127 function() { |
| 138 // Register mocha tests for the route details. | 128 // Register mocha tests for the route details. |
| 139 route_details.registerTests(); | 129 route_details.registerTests(); |
| 140 | 130 |
| 141 // Run all registered tests. | 131 // Run all registered tests. |
| 142 mocha.run(); | 132 mocha.run(); |
| 143 }); | 133 }); |
| OLD | NEW |