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

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

Issue 2206363003: [MD History] Use proper shadows for cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_rounding
Patch Set: address comment, fix test Created 4 years, 4 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 3cfff5a3afc748adc5e21f5c0a486eeb2165baad..8de9f9a552a98dc72ec60ef39b948c0e87ea17cf 100644
--- a/chrome/test/data/webui/md_history/history_list_test.js
+++ b/chrome/test/data/webui/md_history/history_list_test.js
@@ -185,8 +185,8 @@ cr.define('md_history.history_list_test', function() {
MockInteractions.tap(items[2].$['menu-button']);
assertTrue(sharedMenu.menuOpen);
- element.$['infinite-list'].scrollTop = 100;
- return flush();
+ element.$['infinite-list'].scrollToIndex(20);
+ return waitForEvent(sharedMenu, 'menu-open-changed');
}).then(function() {
assertFalse(sharedMenu.menuOpen);
});

Powered by Google App Engine
This is Rietveld 408576698