Index: chrome/test/data/webui/md_bookmarks/list_test.js |
diff --git a/chrome/test/data/webui/md_bookmarks/list_test.js b/chrome/test/data/webui/md_bookmarks/list_test.js |
index 755e1b624c40a9a867b865381fbe7d2465088703..1fb3993a0c515f427b31ed29cbae0d725896871a 100644 |
--- a/chrome/test/data/webui/md_bookmarks/list_test.js |
+++ b/chrome/test/data/webui/md_bookmarks/list_test.js |
@@ -70,6 +70,13 @@ suite('<bookmarks-list>', function() { |
list.displayedIds_ = ['1', '3', '7', '5']; |
assertDeepEquals(list.displayedIds_, list.displayedList_.map(n => n.id)); |
}); |
+ |
+ test('selects all valid IDs on highlight-items', function() { |
+ list.fire('highlight-items', ['10', '1', '3', '9']); |
+ assertEquals('select-items', store.lastAction.name); |
+ assertEquals('1', store.lastAction.anchor); |
+ assertDeepEquals(['1', '3'], store.lastAction.items); |
+ }); |
}); |
suite('<bookmarks-list> integration test', function() { |