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

Unified Diff: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc

Issue 853643002: App list: Changed launcher button's tooltip to "Launcher" in Ares mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed SpokenFeedbackTest. Created 5 years, 11 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 | « ash/shelf/app_list_shelf_item_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
diff --git a/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc b/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
index edeaa8c184812cd66f1fd3bc2ec1a5e2d1fc6ad9..96e7a55b709349d4161b477718147e833e500f77 100644
--- a/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
+++ b/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
@@ -295,7 +295,10 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, FocusShelf) {
EnableChromeVox();
EXPECT_TRUE(PerformAcceleratorAction(ash::FOCUS_SHELF));
- EXPECT_EQ("Shelf toolbar Apps Button", speech_monitor_.GetNextUtterance());
+ const char* expected = app_list::switches::IsExperimentalAppListEnabled()
+ ? "Shelf toolbar Launcher Button"
+ : "Shelf toolbar Apps Button";
+ EXPECT_EQ(expected, speech_monitor_.GetNextUtterance());
SendKeyPress(ui::VKEY_TAB);
EXPECT_TRUE(MatchPattern(speech_monitor_.GetNextUtterance(), "* Button"));
@@ -322,7 +325,7 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, NavigateAppLauncher) {
// check this in the classic app launcher.
if (!app_list::switches::IsExperimentalAppListEnabled()) {
SendKeyPress(ui::VKEY_DOWN);
- EXPECT_TRUE(MatchPattern(speech_monitor_.GetNextUtterance(), "* Button"));
+ EXPECT_TRUE(MatchPattern(speech_monitor_.GetNextUtterance(), "* Button"));
}
}
« no previous file with comments | « ash/shelf/app_list_shelf_item_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698