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

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

Issue 1644863003: Prune invisible views from the desktop automation tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try hitting space (behavior changes when a tab is open). Created 4 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 | « no previous file | chrome/browser/ui/ash/accessibility/ax_tree_source_aura_unittest.cc » ('j') | 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 939e476c6f91c5e89493d9ca07925d2dcb6cd397..79d1c013ea6b0690470b81bbb342bc8d27fe9133 100644
--- a/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
+++ b/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
@@ -329,7 +329,7 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, NavigateAppLauncher) {
}
// Click on the launcher, it brings up the app list UI.
- SendKeyPress(ui::VKEY_RETURN);
+ SendKeyPress(ui::VKEY_SPACE);
EXPECT_EQ("Search or type URL", speech_monitor_.GetNextUtterance());
EXPECT_EQ("Edit text", speech_monitor_.GetNextUtterance());
@@ -347,7 +347,7 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, NavigateAppLauncher) {
if (base::MatchPattern(utterance, "Button"))
break;
}
- SendKeyPress(ui::VKEY_RETURN);
+ SendKeyPress(ui::VKEY_SPACE);
// Now type a space into the text field and wait until we hear "space".
// This makes the test more robust as it allows us to skip over other
« no previous file with comments | « no previous file | chrome/browser/ui/ash/accessibility/ax_tree_source_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698