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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs

Issue 895533003: Revert of Disable chromevox_tests BackgroundTest.InitialFeedback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 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 test fixture. 5 // Include test fixture.
6 GEN_INCLUDE(['../../testing/chromevox_next_e2e_test_base.js']); 6 GEN_INCLUDE(['../../testing/chromevox_next_e2e_test_base.js']);
7 7
8 GEN_INCLUDE(['../../testing/mock_tts.js']); 8 GEN_INCLUDE(['../../testing/mock_tts.js']);
9 9
10 /** 10 /**
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 return null; 83 return null;
84 } 84 }
85 85
86 chrome.automation.getDesktop(function(root) { 86 chrome.automation.getDesktop(function(root) {
87 var testButton = findStatusTray(root); 87 var testButton = findStatusTray(root);
88 cvox.ChromeVox.tts.expectSpeech('Status tray', testDone); 88 cvox.ChromeVox.tts.expectSpeech('Status tray', testDone);
89 testButton.focus(); 89 testButton.focus();
90 }); 90 });
91 }); 91 });
92 92
93 // Flaky: http://crbug.com/451362
94 /** Tests feedback once a page loads. */ 93 /** Tests feedback once a page loads. */
95 TEST_F('BackgroundTest', 'DISABLED_InitialFeedback', function() { 94 TEST_F('BackgroundTest', 'InitialFeedback', function() {
96 cvox.ChromeVox.tts.expectSpeech('start', function() { 95 cvox.ChromeVox.tts.expectSpeech('start', function() {
97 global.backgroundObj.onGotCommand('nextLine'); 96 global.backgroundObj.onGotCommand('nextLine');
98 }, true); 97 }, true);
99 cvox.ChromeVox.tts.expectSpeech('end', testDone, true); 98 cvox.ChromeVox.tts.expectSpeech('end', testDone, true);
100 99
101 this.runWithDocument(function() {/*! 100 this.runWithDocument(function() {/*!
102 <p>start 101 <p>start
103 <p>end 102 <p>end
104 */}, 103 */},
105 function() {}); 104 function() {});
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 }.bind(this), 0); 191 }.bind(this), 0);
193 }.bind(cvox.ChromeVox.tts); 192 }.bind(cvox.ChromeVox.tts);
194 193
195 expect('start', doCmd('continuousRead')); 194 expect('start', doCmd('continuousRead'));
196 expect('alpha Link', sendEndEvent); 195 expect('alpha Link', sendEndEvent);
197 expect('beta Link', sendEndEvent); 196 expect('beta Link', sendEndEvent);
198 expect('Heading charlie', sendEndEvent); 197 expect('Heading charlie', sendEndEvent);
199 cvox.ChromeVox.tts.finishExpectations(); 198 cvox.ChromeVox.tts.finishExpectations();
200 }.bind(this)); 199 }.bind(this));
201 }); 200 });
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