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

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

Issue 908913002: 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
93 /** Tests feedback once a page loads. */ 94 /** Tests feedback once a page loads. */
94 TEST_F('BackgroundTest', 'InitialFeedback', function() { 95 TEST_F('BackgroundTest', 'DISABLED_InitialFeedback', function() {
95 cvox.ChromeVox.tts.expectSpeech('start', function() { 96 cvox.ChromeVox.tts.expectSpeech('start', function() {
96 global.backgroundObj.onGotCommand('nextLine'); 97 global.backgroundObj.onGotCommand('nextLine');
97 }, true); 98 }, true);
98 cvox.ChromeVox.tts.expectSpeech('end', testDone, true); 99 cvox.ChromeVox.tts.expectSpeech('end', testDone, true);
99 100
100 this.runWithDocument(function() {/*! 101 this.runWithDocument(function() {/*!
101 <p>start 102 <p>start
102 <p>end 103 <p>end
103 */}, 104 */},
104 function() {}); 105 function() {});
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 }.bind(this), 0); 192 }.bind(this), 0);
192 }.bind(cvox.ChromeVox.tts); 193 }.bind(cvox.ChromeVox.tts);
193 194
194 expect('start', doCmd('continuousRead')); 195 expect('start', doCmd('continuousRead'));
195 expect('alpha Link', sendEndEvent); 196 expect('alpha Link', sendEndEvent);
196 expect('beta Link', sendEndEvent); 197 expect('beta Link', sendEndEvent);
197 expect('Heading charlie', sendEndEvent); 198 expect('Heading charlie', sendEndEvent);
198 cvox.ChromeVox.tts.finishExpectations(); 199 cvox.ChromeVox.tts.finishExpectations();
199 }.bind(this)); 200 }.bind(this));
200 }); 201 });
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