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

Unified Diff: chrome/test/data/webui/md_history/history_metrics_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
Index: chrome/test/data/webui/md_history/history_metrics_test.js
diff --git a/chrome/test/data/webui/md_history/history_metrics_test.js b/chrome/test/data/webui/md_history/history_metrics_test.js
index 4df9393ab9ebbdb9bb9b4ba39e741921347ca08f..ae0d8ae48f0ae4418e6f8fbfef3fe2f9e9fc2863 100644
--- a/chrome/test/data/webui/md_history/history_metrics_test.js
+++ b/chrome/test/data/webui/md_history/history_metrics_test.js
@@ -89,8 +89,7 @@ suite('Metrics', function() {
]);
return PolymerTest.flushTasks().then(() => {
- var items = polymerSelectAll(
- app.$.history.$['infinite-list'], 'history-item');
+ var items = polymerSelectAll(app.$.history, 'history-item');
MockInteractions.tap(items[1].$$('#bookmark-star'));
assertEquals(1, actionMap['BookmarkStarClicked']);
MockInteractions.tap(items[1].$.title);
@@ -108,8 +107,7 @@ suite('Metrics', function() {
]);
return PolymerTest.flushTasks();
}).then(() => {
- items = polymerSelectAll(
- app.$.history.$['infinite-list'], 'history-item');
+ items = polymerSelectAll(app.$.history, 'history-item');
MockInteractions.tap(items[0].$.title);
assertEquals(1, actionMap['SearchResultClick']);
assertEquals(1, histogramMap['HistoryPage.ClickPosition'][0]);
@@ -131,8 +129,7 @@ suite('Metrics', function() {
assertEquals(1, actionMap['ConfirmRemoveSelected']);
return PolymerTest.flushTasks();
}).then(() => {
- items = polymerSelectAll(
- app.$.history.$['infinite-list'], 'history-item');
+ items = polymerSelectAll(app.$.history, 'history-item');
MockInteractions.tap(items[0].$['menu-button']);
return PolymerTest.flushTasks();
}).then(() => {

Powered by Google App Engine
This is Rietveld 408576698