| 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);
|
|
|