Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: chrome/test/data/webui/media_router/media_router_elements_browsertest.js

Issue 1820763003: [Media Router WebUI] Handle on dialog load focus on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 21 matching lines...) Expand all
32 // split between media_router_container_tests.js and 32 // split between media_router_container_tests.js and
33 // media_router_container_filter_tests.js. 33 // media_router_container_filter_tests.js.
34 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 34 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
35 'issue_banner_tests.js', 35 'issue_banner_tests.js',
36 'media_router_container_tests.js', 36 'media_router_container_tests.js',
37 'media_router_container_filter_tests.js', 37 'media_router_container_filter_tests.js',
38 'media_router_header_tests.js', 38 'media_router_header_tests.js',
39 'media_router_search_highlighter.js', 39 'media_router_search_highlighter.js',
40 'route_details_tests.js', 40 'route_details_tests.js',
41 ]), 41 ]),
42
43 /** @override */
44 setUp: function() {
45 PolymerTest.prototype.setUp.call(this);
46
47 // This element is used as a focus placeholder on dialog open, then
48 // deleted. The user will be unable to tab to it. Remove when there is a
49 // long term fix.
50 this.accessibilityAuditConfig.ignoreSelectors(
51 'focusableElementNotVisibleAndNotAriaHidden', '#focus-placeholder');
52 },
42 }; 53 };
43 54
44 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner', 55 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner',
45 function() { 56 function() {
46 // Register mocha tests for the issue banner. 57 // Register mocha tests for the issue banner.
47 issue_banner.registerTests(); 58 issue_banner.registerTests();
48 59
49 // Run all registered tests. 60 // Run all registered tests.
50 mocha.run(); 61 mocha.run();
51 }); 62 });
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 103
93 TEST_F('MediaRouterElementsBrowserTest', 104 TEST_F('MediaRouterElementsBrowserTest',
94 'MediaRouterElementsTestMediaRouterRouteDetails', 105 'MediaRouterElementsTestMediaRouterRouteDetails',
95 function() { 106 function() {
96 // Register mocha tests for the route details. 107 // Register mocha tests for the route details.
97 route_details.registerTests(); 108 route_details.registerTests();
98 109
99 // Run all registered tests. 110 // Run all registered tests.
100 mocha.run(); 111 mocha.run();
101 }); 112 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698