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

Side by Side Diff: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc

Issue 2522233002: Disable SpokenFeedbackTest.ChromeVoxNextStickyMode (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <queue> 5 #include <queue>
6 6
7 #include "ash/common/accelerators/accelerator_controller.h" 7 #include "ash/common/accelerators/accelerator_controller.h"
8 #include "ash/common/accelerators/accelerator_table.h" 8 #include "ash/common/accelerators/accelerator_table.h"
9 #include "ash/common/accessibility_types.h" 9 #include "ash/common/accessibility_types.h"
10 #include "ash/common/material_design/material_design_controller.h" 10 #include "ash/common/material_design/material_design_controller.h"
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 SendKeyPressWithSearch(ui::VKEY_S); 568 SendKeyPressWithSearch(ui::VKEY_S);
569 EXPECT_EQ("Title", speech_monitor_.GetNextUtterance()); 569 EXPECT_EQ("Title", speech_monitor_.GetNextUtterance());
570 EXPECT_EQ("selected", speech_monitor_.GetNextUtterance()); 570 EXPECT_EQ("selected", speech_monitor_.GetNextUtterance());
571 571
572 // Press again to end the selection. 572 // Press again to end the selection.
573 SendKeyPressWithSearch(ui::VKEY_S); 573 SendKeyPressWithSearch(ui::VKEY_S);
574 EXPECT_EQ("End selection", speech_monitor_.GetNextUtterance()); 574 EXPECT_EQ("End selection", speech_monitor_.GetNextUtterance());
575 EXPECT_EQ("Title", speech_monitor_.GetNextUtterance()); 575 EXPECT_EQ("Title", speech_monitor_.GetNextUtterance());
576 } 576 }
577 577
578 IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, ChromeVoxNextStickyMode) { 578 IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, DISABLED_ChromeVoxNextStickyMode) {
579 EnableChromeVox(); 579 EnableChromeVox();
580 580
581 ui_test_utils::NavigateToURL( 581 ui_test_utils::NavigateToURL(
582 browser(), 582 browser(),
583 GURL("data:text/html;charset=utf-8,<button autofocus>Click me</button>")); 583 GURL("data:text/html;charset=utf-8,<button autofocus>Click me</button>"));
584 while ("Button" != speech_monitor_.GetNextUtterance()) { 584 while ("Button" != speech_monitor_.GetNextUtterance()) {
585 } 585 }
586 586
587 // Press the sticky-key sequence: Search Search. 587 // Press the sticky-key sequence: Search Search.
588 SendKeyPress(ui::VKEY_LWIN); 588 SendKeyPress(ui::VKEY_LWIN);
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 ASSERT_TRUE(ui_test_utils::SendKeyPressToWindowSync( 756 ASSERT_TRUE(ui_test_utils::SendKeyPressToWindowSync(
757 window, ui::VKEY_TAB, false, true /*shift*/, false, false)); 757 window, ui::VKEY_TAB, false, true /*shift*/, false, false));
758 while (speech_monitor_.GetNextUtterance() != "Select your language:") { 758 while (speech_monitor_.GetNextUtterance() != "Select your language:") {
759 } 759 }
760 EXPECT_EQ("English ( United States)", speech_monitor_.GetNextUtterance()); 760 EXPECT_EQ("English ( United States)", speech_monitor_.GetNextUtterance());
761 EXPECT_TRUE(base::MatchPattern(speech_monitor_.GetNextUtterance(), 761 EXPECT_TRUE(base::MatchPattern(speech_monitor_.GetNextUtterance(),
762 "Combo box * of *")); 762 "Combo box * of *"));
763 } 763 }
764 764
765 } // namespace chromeos 765 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698