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

Unified Diff: chrome/test/media_router/media_router_integration_ui_browsertest.cc

Issue 1305163009: Fix integration test failure caused by issue/1303993003. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change 'title' to 'description' Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/media_router/media_router_integration_ui_browsertest.cc
diff --git a/chrome/test/media_router/media_router_integration_ui_browsertest.cc b/chrome/test/media_router/media_router_integration_ui_browsertest.cc
index 7a2481a8a4d3997911e8a43c2a1cc3b9e407a637..b1870b3d0ab11af831975ac0eaae219d39e3f545 100644
--- a/chrome/test/media_router/media_router_integration_ui_browsertest.cc
+++ b/chrome/test/media_router/media_router_integration_ui_browsertest.cc
@@ -32,18 +32,18 @@ IN_PROC_BROWSER_TEST_F(MediaRouterIntegrationBrowserTest, MANUAL_Dialog_Basic) {
// Verify the new route.
script = base::StringPrintf(
"domAutomationController.send(window.document.getElementById("
- "'media-router-container').routeList[0].title)");
- std::string route_title = ExecuteScriptAndExtractString(
+ "'media-router-container').routeList[0].description)");
+ std::string route_description = ExecuteScriptAndExtractString(
dialog_contents, script);
- ASSERT_EQ("Test Route", route_title);
+ ASSERT_EQ("Test Route", route_description);
script = base::StringPrintf(
"domAutomationController.send(window.document.getElementById("
"'media-router-container').routeList[0].id)");
std::string route_id = ExecuteScriptAndExtractString(dialog_contents, script);
std::string current_route = base::StringPrintf(
- "{'id': '%s', 'sinkId': '%s', 'title': '%s', 'isLocal': '%s'}",
- route_id.c_str(), "id1", route_title.c_str(), "false");
+ "{'id': '%s', 'sinkId': '%s', 'description': '%s', 'isLocal': '%s'}",
+ route_id.c_str(), "id1", route_description.c_str(), "false");
ChooseSink(web_contents, "id1", current_route);
// TODO(leilei): Verify the router details dialog, including the title and
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698