| OLD | NEW | 
|---|
| 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              '../../testing/assert_additions.js']); | 7              '../../testing/assert_additions.js']); | 
| 8 | 8 | 
| 9 GEN_INCLUDE(['../../testing/mock_feedback.js']); | 9 GEN_INCLUDE(['../../testing/mock_feedback.js']); | 
| 10 | 10 | 
| (...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1169           .expectEarcon('wrap') | 1169           .expectEarcon('wrap') | 
| 1170           .call(doCmd('previousHeading' + level)) | 1170           .call(doCmd('previousHeading' + level)) | 
| 1171           .expectEarcon('wrap'); | 1171           .expectEarcon('wrap'); | 
| 1172     }; | 1172     }; | 
| 1173     for (var i = 1; i <= 6; i++) | 1173     for (var i = 1; i <= 6; i++) | 
| 1174       makeLevelAssertions(i); | 1174       makeLevelAssertions(i); | 
| 1175     mockFeedback.replay(); | 1175     mockFeedback.replay(); | 
| 1176   }); | 1176   }); | 
| 1177 }); | 1177 }); | 
| 1178 | 1178 | 
| 1179 TEST_F('BackgroundTest', 'EditableNavigation', function() { | 1179 // Flaky, see crbug.com/693928. | 
|  | 1180 TEST_F('BackgroundTest', 'DISABLED_EditableNavigation', function() { | 
| 1180   var mockFeedback = this.createMockFeedback(); | 1181   var mockFeedback = this.createMockFeedback(); | 
| 1181   this.runWithLoadedTree(function(root) {/*! | 1182   this.runWithLoadedTree(function(root) {/*! | 
| 1182     <div contenteditable>this is a test</div> | 1183     <div contenteditable>this is a test</div> | 
| 1183   */}, function(root) { | 1184   */}, function(root) { | 
| 1184     mockFeedback.call(doCmd('nextObject')) | 1185     mockFeedback.call(doCmd('nextObject')) | 
| 1185         .expectSpeech('this is a test') | 1186         .expectSpeech('this is a test') | 
| 1186         .call(doCmd('nextObject')) | 1187         .call(doCmd('nextObject')) | 
| 1187         .expectSpeech(/data*/) | 1188         .expectSpeech(/data*/) | 
| 1188         .call(doCmd('nextObject')) | 1189         .call(doCmd('nextObject')) | 
| 1189         .expectSpeech('this is a test') | 1190         .expectSpeech('this is a test') | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
| 1220         .call(doCmd('nextWord')) | 1221         .call(doCmd('nextWord')) | 
| 1221         .expectBraille(text, {startIndex: 5, endIndex: 7})  // is | 1222         .expectBraille(text, {startIndex: 5, endIndex: 7})  // is | 
| 1222         .call(doCmd('previousWord')) | 1223         .call(doCmd('previousWord')) | 
| 1223         .expectBraille(text, {startIndex: 0, endIndex: 4})  // This | 1224         .expectBraille(text, {startIndex: 0, endIndex: 4})  // This | 
| 1224         .call(doCmd('nextLine')) | 1225         .call(doCmd('nextLine')) | 
| 1225         // Ensure nothing is selected when the range covers the entire line. | 1226         // Ensure nothing is selected when the range covers the entire line. | 
| 1226         .expectBraille('with a second line', {startIndex: -1, endIndex: -1}) | 1227         .expectBraille('with a second line', {startIndex: -1, endIndex: -1}) | 
| 1227         .replay(); | 1228         .replay(); | 
| 1228   }); | 1229   }); | 
| 1229 }); | 1230 }); | 
| OLD | NEW | 
|---|