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 ae0d8ae48f0ae4418e6f8fbfef3fe2f9e9fc2863..4e8fb4231739e19fe1706396184ba26e3c2248a1 100644 |
--- a/chrome/test/data/webui/md_history/history_metrics_test.js |
+++ b/chrome/test/data/webui/md_history/history_metrics_test.js |
@@ -116,13 +116,13 @@ suite('Metrics', function() { |
MockInteractions.tap(items[4].$.checkbox); |
return PolymerTest.flushTasks(); |
}).then(() => { |
- MockInteractions.tap(app.$.toolbar.$$('#delete-button')); |
+ app.$.toolbar.deleteSelectedItems(); |
assertEquals(1, actionMap['RemoveSelected']); |
return PolymerTest.flushTasks(); |
}).then(() => { |
MockInteractions.tap(app.$.history.$$('.cancel-button')); |
assertEquals(1, actionMap['CancelRemoveSelected']); |
- MockInteractions.tap(app.$.toolbar.$$('#delete-button')); |
+ app.$.toolbar.deleteSelectedItems(); |
return PolymerTest.flushTasks(); |
}).then(() => { |
MockInteractions.tap(app.$.history.$$('.action-button')); |