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

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

Issue 2000333002: Change the predicate used to identify editable text used for jump commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js ('k') | 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 '../../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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 .expectSpeech('Button') 696 .expectSpeech('Button')
697 .expectSpeech('Not pressed') 697 .expectSpeech('Not pressed')
698 698
699 .call(move) 699 .call(move)
700 .expectSpeech('close') 700 .expectSpeech('close')
701 .expectSpeech('Button') 701 .expectSpeech('Button')
702 702
703 .replay(); 703 .replay();
704 }); 704 });
705 }); 705 });
706
707 TEST_F('BackgroundTest', 'EditText', function() {
708 var mockFeedback = this.createMockFeedback();
709 this.runWithLoadedTree(function() {/*!
710 <input type="text"></input>
711 <input role="combobox" type="text"></input>
712 */}, function(root) {
713 var nextEditText = this.doCmd('nextEditText');
714 var previousEditText = this.doCmd('previousEditText');
715 mockFeedback.call(nextEditText)
716 .expectSpeech('Combo box')
717 .call(previousEditText)
718 .expectSpeech('Edit text')
719 .replay();
720 });
721 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698