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

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: Tweak CSS again 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..f502bbba17c012327ccadd1608d7fe21e64834cc 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.onDeleteTap_();
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.onDeleteTap_();
return PolymerTest.flushTasks();
}).then(() => {
MockInteractions.tap(app.$.history.$$('.action-button'));

Powered by Google App Engine
This is Rietveld 408576698