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

Unified Diff: chrome/test/data/webui/media_router/media_router_container_tests.js

Issue 1538363003: [Media Router UI] Fix route-details/sink-list view flashing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/media_router/media_router_ui_interface.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/media_router/media_router_container_tests.js
diff --git a/chrome/test/data/webui/media_router/media_router_container_tests.js b/chrome/test/data/webui/media_router/media_router_container_tests.js
index 539d47d11fc1e2aa836ef0677671ad5478b40b00..88571b6a2a460b74a5951d03cab00c0907679b57 100644
--- a/chrome/test/data/webui/media_router/media_router_container_tests.js
+++ b/chrome/test/data/webui/media_router/media_router_container_tests.js
@@ -376,6 +376,7 @@ cr.define('media_router_container', function() {
test('initial view with one local route', function() {
container.allSinks = fakeSinkList;
container.routeList = fakeRouteList;
+ container.maybeShowRouteDetailsOnOpen();
checkCurrentView(media_router.MediaRouterView.ROUTE_DETAILS);
});
@@ -403,6 +404,7 @@ cr.define('media_router_container', function() {
test('view after route is closed remotely', function() {
container.allSinks = fakeSinkList;
container.routeList = fakeRouteList;
+ container.maybeShowRouteDetailsOnOpen();
checkCurrentView(media_router.MediaRouterView.ROUTE_DETAILS);
container.routeList = [];
« no previous file with comments | « chrome/browser/resources/media_router/media_router_ui_interface.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698