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

Unified Diff: chrome/test/data/webui/md_history/history_list_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_list_test.js
diff --git a/chrome/test/data/webui/md_history/history_list_test.js b/chrome/test/data/webui/md_history/history_list_test.js
index 41b2382f794e0e987605b038ef786893e75f8acf..5f835a3b689410bfe95ac9523b517d65ec513ed3 100644
--- a/chrome/test/data/webui/md_history/history_list_test.js
+++ b/chrome/test/data/webui/md_history/history_list_test.js
@@ -46,7 +46,7 @@ suite('<history-list>', function() {
assertDeepEquals([true], element.historyData_.map(i => i.selected));
return PolymerTest.flushTasks();
}).then(function() {
- MockInteractions.tap(app.$.toolbar.$$('#delete-button'));
+ toolbar.onDeleteTap_();
var dialog = listContainer.$.dialog.get();
registerMessageCallback('removeVisits', this, function() {
PolymerTest.flushTasks().then(function() {
@@ -313,7 +313,7 @@ suite('<history-list>', function() {
return PolymerTest.flushTasks();
}).then(function() {
- MockInteractions.tap(app.$.toolbar.$$('#delete-button'));
+ toolbar.onDeleteTap_();
var dialog = listContainer.$.dialog.get();
registerMessageCallback('removeVisits', this, function() {
@@ -438,7 +438,7 @@ suite('<history-list>', function() {
MockInteractions.tap(items[2].$.checkbox);
return PolymerTest.flushTasks();
}).then(function() {
- MockInteractions.tap(app.$.toolbar.$$('#delete-button'));
+ toolbar.onDeleteTap_();
return PolymerTest.flushTasks();
}).then(function() {
// Confirmation dialog should appear.

Powered by Google App Engine
This is Rietveld 408576698