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

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

Issue 2684693004: MD History: Remove list-container and list-behavior (Closed)
Patch Set: Rename listeners Created 3 years, 10 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/ui/webui/md_history_ui.cc ('k') | chrome/test/data/webui/md_history/history_list_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_history/history_item_test.js
diff --git a/chrome/test/data/webui/md_history/history_item_test.js b/chrome/test/data/webui/md_history/history_item_test.js
index 1347f25c8d49ae5b6f25f8b9bbd099f0e426a328..ba6e4e83f22b263b506ce3e78be28d56689a9693 100644
--- a/chrome/test/data/webui/md_history/history_item_test.js
+++ b/chrome/test/data/webui/md_history/history_item_test.js
@@ -60,7 +60,7 @@ suite('<history-item> integration test', function() {
var element;
setup(function() {
- element = replaceApp().$['history'].$['infinite-list'];
+ element = replaceApp().$.history;
});
test('basic separator insertion', function() {
@@ -96,13 +96,13 @@ suite('<history-item> integration test', function() {
return PolymerTest.flushTasks().then(function() {
var items = Polymer.dom(element.root).querySelectorAll('history-item');
- element.removeItemsByPath(['historyData_.3']);
+ element.removeItemsByIndex_([3]);
assertEquals(5, element.historyData_.length);
// Checks that a new time gap separator has been inserted.
assertTrue(items[2].hasTimeGap);
- element.removeItemsByPath(['historyData_.3']);
+ element.removeItemsByIndex_([3]);
// Checks time gap separator is removed.
assertFalse(items[2].hasTimeGap);
« no previous file with comments | « chrome/browser/ui/webui/md_history_ui.cc ('k') | chrome/test/data/webui/md_history/history_list_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698