| Index: chrome/test/interactive_ui/keyboard_access_uitest.cc
|
| diff --git a/chrome/test/interactive_ui/keyboard_access_uitest.cc b/chrome/test/interactive_ui/keyboard_access_uitest.cc
|
| index bb8756aacbe154c56352c4c60d60d66112e29b3e..be221f65b1056bd1e3dc931e9fe29d73ca5fef52 100644
|
| --- a/chrome/test/interactive_ui/keyboard_access_uitest.cc
|
| +++ b/chrome/test/interactive_ui/keyboard_access_uitest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/keyboard_codes.h"
|
| +#include "chrome/browser/wrench_menu_model.h"
|
| #include "chrome/test/automation/browser_proxy.h"
|
| #include "chrome/test/automation/tab_proxy.h"
|
| #include "chrome/test/automation/window_proxy.h"
|
| @@ -69,8 +70,10 @@ void KeyboardAccessTest::TestMenuKeyboardAccess(bool alternate_key_sequence) {
|
|
|
| ASSERT_TRUE(browser->StartTrackingPopupMenus());
|
|
|
| - // Press RIGHT to focus the app menu, then RETURN or DOWN to open it.
|
| - ASSERT_TRUE(window->SimulateOSKeyPress(base::VKEY_RIGHT, 0));
|
| + if (!WrenchMenuModel::IsEnabled()) {
|
| + // Press RIGHT to focus the app menu, then RETURN or DOWN to open it.
|
| + ASSERT_TRUE(window->SimulateOSKeyPress(base::VKEY_RIGHT, 0));
|
| + }
|
| if (alternate_key_sequence)
|
| ASSERT_TRUE(window->SimulateOSKeyPress(base::VKEY_DOWN, 0));
|
| else
|
|
|