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

Unified Diff: chrome/test/data/webui/md_history/history_toolbar_test.js

Issue 1963503002: MD WebUI: Add shared cr-toolbar element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style review comments Created 4 years, 7 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
Index: chrome/test/data/webui/md_history/history_toolbar_test.js
diff --git a/chrome/test/data/webui/md_history/history_toolbar_test.js b/chrome/test/data/webui/md_history/history_toolbar_test.js
index 56148125a3b96c7ac01f6c438ddae5ef819f5579..166a56f1a063563f29d57bdddd816b14e9e01e30 100644
--- a/chrome/test/data/webui/md_history/history_toolbar_test.js
+++ b/chrome/test/data/webui/md_history/history_toolbar_test.js
@@ -55,8 +55,9 @@ cr.define('md_history.history_toolbar_test', function() {
registerMessageCallback('queryHistory', this, function (info) {
assertEquals('example.com', info[0]);
flush(function() {
- assertEquals(toolbar.$$('#search-input').$$('#search-input').value,
- 'example.com');
+ assertEquals(
+ 'example.com',
+ toolbar.$['main-toolbar'].getSearchField().getValue());
done();
});
});
« no previous file with comments | « chrome/browser/ui/webui/md_history_ui.cc ('k') | ui/webui/resources/cr_elements/cr_search_field/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698