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

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

Issue 2360193002: [MD History] Hide empty synced device cards. (Closed)
Patch Set: rebase Created 4 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 | « chrome/browser/resources/md_history/synced_device_manager.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/md_history/history_synced_tabs_test.js
diff --git a/chrome/test/data/webui/md_history/history_synced_tabs_test.js b/chrome/test/data/webui/md_history/history_synced_tabs_test.js
index bd0cdd4b71daf56255183599f519a4b3158e57d9..876c3e538d7cd08157ba13b8d72de9adee13fda0 100644
--- a/chrome/test/data/webui/md_history/history_synced_tabs_test.js
+++ b/chrome/test/data/webui/md_history/history_synced_tabs_test.js
@@ -164,6 +164,13 @@ cr.define('md_history.history_synced_tabs_test', function() {
Polymer.dom(cards[0].root)
.querySelectorAll('.website-title')[0].children[0]
.textContent.trim());
+
+ element.searchTerm = 'Sans';
+ return flush();
+ }).then(function() {
+ assertEquals(0, getCards(element).length);
+
+ assertNoSyncedTabsMessageShown(element, 'noSearchResults');
});
});
« no previous file with comments | « chrome/browser/resources/md_history/synced_device_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698