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

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

Issue 2720903003: MD History: Fix menu promo not hiding when menu button is clicked (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « chrome/browser/resources/md_history/app.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_history/history_toolbar_test.js
diff --git a/chrome/test/data/webui/md_history/history_toolbar_test.js b/chrome/test/data/webui/md_history/history_toolbar_test.js
index 1d971d7155616097bb6a1d9131cd18036ea373a4..f2dfa7ef4ee2cdc51327fd1895418b05683818c6 100644
--- a/chrome/test/data/webui/md_history/history_toolbar_test.js
+++ b/chrome/test/data/webui/md_history/history_toolbar_test.js
@@ -101,6 +101,14 @@ suite('history-toolbar', function() {
assertTrue(notice.hidden);
});
+ test('menu promo hides when drawer is opened', function() {
+ app.showMenuPromo_ = true;
+ app.hasDrawer_ = true;
+ Polymer.dom.flush();
+ MockInteractions.tap(toolbar.$['main-toolbar'].$$('#menuButton'));
+ assertFalse(app.showMenuPromo_);
+ });
+
teardown(function() {
registerMessageCallback('queryHistory', this, function() {});
});
« no previous file with comments | « chrome/browser/resources/md_history/app.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698