| 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);
|
| });
|
|
|