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

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

Issue 2275653002: MD Downloads: use "big search" box like MD history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dl-menu-rtl
Patch Set: fix tests 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_drawer_test.js
diff --git a/chrome/test/data/webui/md_history/history_drawer_test.js b/chrome/test/data/webui/md_history/history_drawer_test.js
index 6a5782f228f7e72b11e15a464c5ba82a16ebe58d..3c14ac339dc72aa4fa7df47bbd232b61ab7757c9 100644
--- a/chrome/test/data/webui/md_history/history_drawer_test.js
+++ b/chrome/test/data/webui/md_history/history_drawer_test.js
@@ -6,11 +6,9 @@ cr.define('md_history.history_drawer_test', function () {
function registerTests() {
suite('drawer-test', function() {
var app;
- var menuButton;
suiteSetup(function() {
app = $('history-app');
- menuButton = app.$.toolbar.$['main-toolbar'].$.menuButton;
});
test('drawer has correct selection', function() {
@@ -22,6 +20,10 @@ cr.define('md_history.history_drawer_test', function () {
assertTrue(!!drawer);
assertTrue(!!drawerSideBar);
+
+ var menuButton = app.$.toolbar.$['main-toolbar'].$$('#menuButton');
+ assertTrue(!!menuButton);
+
MockInteractions.tap(menuButton);
assertTrue(drawer.opened);

Powered by Google App Engine
This is Rietveld 408576698