| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // Enable when failure is resolved. | 57 // Enable when failure is resolved. |
| 58 // AX_ARIA_02: http://crbug.com/591547 | 58 // AX_ARIA_02: http://crbug.com/591547 |
| 59 this.accessibilityAuditConfig.ignoreSelectors( | 59 this.accessibilityAuditConfig.ignoreSelectors( |
| 60 'nonExistentAriaRelatedElement', '#input'); | 60 'nonExistentAriaRelatedElement', '#input'); |
| 61 | 61 |
| 62 // Enable when failure is resolved. | 62 // Enable when failure is resolved. |
| 63 // AX_ARIA_04: http://crbug.com/591550 | 63 // AX_ARIA_04: http://crbug.com/591550 |
| 64 this.accessibilityAuditConfig.ignoreSelectors( | 64 this.accessibilityAuditConfig.ignoreSelectors( |
| 65 'badAriaAttributeValue', '#input'); | 65 'badAriaAttributeValue', '#input'); |
| 66 | 66 |
| 67 var requiredOwnedAriaRoleMissingSelectors = [ | |
| 68 '#cast-mode-list', | |
| 69 '#sink-list' | |
| 70 ]; | |
| 71 | |
| 72 // Enable when failure is resolved. | |
| 73 // AX_ARIA_08: http://crbug.com/591552 | |
| 74 this.accessibilityAuditConfig.ignoreSelectors( | |
| 75 'requiredOwnedAriaRoleMissing', requiredOwnedAriaRoleMissingSelectors); | |
| 76 | |
| 77 // This element is used as a focus placeholder on dialog open, then | 67 // This element is used as a focus placeholder on dialog open, then |
| 78 // deleted. The user will be unable to tab to it. Remove when there is a | 68 // deleted. The user will be unable to tab to it. Remove when there is a |
| 79 // long term fix. | 69 // long term fix. |
| 80 this.accessibilityAuditConfig.ignoreSelectors( | 70 this.accessibilityAuditConfig.ignoreSelectors( |
| 81 'focusableElementNotVisibleAndNotAriaHidden', '#focus-placeholder'); | 71 'focusableElementNotVisibleAndNotAriaHidden', '#focus-placeholder'); |
| 82 }, | 72 }, |
| 83 }; | 73 }; |
| 84 | 74 |
| 85 TEST_F('MediaRouterElementsBrowserTest', 'IssueBanner', function() { | 75 TEST_F('MediaRouterElementsBrowserTest', 'IssueBanner', function() { |
| 86 issue_banner.registerTests(); | 76 issue_banner.registerTests(); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 'MediaRouterSearchHighlighter', | 123 'MediaRouterSearchHighlighter', |
| 134 function() { | 124 function() { |
| 135 media_router_search_highlighter.registerTests(); | 125 media_router_search_highlighter.registerTests(); |
| 136 mocha.run(); | 126 mocha.run(); |
| 137 }); | 127 }); |
| 138 | 128 |
| 139 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterRouteDetails', function() { | 129 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterRouteDetails', function() { |
| 140 route_details.registerTests(); | 130 route_details.registerTests(); |
| 141 mocha.run(); | 131 mocha.run(); |
| 142 }); | 132 }); |
| OLD | NEW |