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