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

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

Issue 2800603002: MD WebUI: Pull 'X selected' toolbar overlay from History into shared element (Closed)
Patch Set: dbeam review comments Created 3 years, 8 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 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'));

Powered by Google App Engine
This is Rietveld 408576698