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

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

Issue 2583353003: MD History: Replace last usage of cr-shared-menu with cr-action-menu. (Closed)
Patch Set: Test found real subtle bug (display flex overriding [hidden] attribute) Created 4 years 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 687cd09ffd319c301ba1c32b1cb24026d85aaf93..c2709836e5b31d054c693ea095db48e63afbd9df 100644
--- a/chrome/test/data/webui/md_history/history_list_test.js
+++ b/chrome/test/data/webui/md_history/history_list_test.js
@@ -273,24 +273,6 @@ suite('<history-list>', function() {
});
});
- test('scrolling history list closes overflow menu', function() {
- var lazyMenu = app.$.history.$.sharedMenu;
- for (var i = 0; i < 10; i++)
- app.historyResult(createHistoryInfo(), TEST_HISTORY_RESULTS);
- return PolymerTest.flushTasks().then(function() {
- items = polymerSelectAll(element, 'history-item');
-
- MockInteractions.tap(items[2].$['menu-button']);
- return PolymerTest.flushTasks();
- }).then(function() {
- assertTrue(lazyMenu.getIfExists().menuOpen);
- element.$['infinite-list'].scrollToIndex(20);
- return waitForEvent(lazyMenu.getIfExists(), 'menu-open-changed');
- }).then(function() {
- assertFalse(lazyMenu.getIfExists().menuOpen);
- });
- });
-
// TODO(calamity): Reenable this test after fixing flakiness.
// See http://crbug.com/640862.
test.skip('scrolling history list causes toolbar shadow to appear',
« no previous file with comments | « chrome/browser/resources/settings/settings_shared_css.html ('k') | chrome/test/data/webui/md_history/history_metrics_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698