| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| index ed0cea7683f5067e7aa7fbf8ffeec6ce5d3ae6fe..b721d3de71d5a2976318e25f7eba4ff33c0d940e 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
|
| @@ -811,11 +811,7 @@ TEST_F('BackgroundTest', 'BackwardForwardSync', function() {
|
| mockFeedback.call(listItem.focus.bind(listItem))
|
| .expectSpeech('List item')
|
| .call(this.doCmd('nextObject'))
|
| - .expectSpeech('•')
|
| - .call(this.doCmd('previousObject'))
|
| - .expectSpeech('List item')
|
| - .call(this.doCmd('nextObject'))
|
| - .expectSpeech('•')
|
| + .expectSpeech('Button')
|
| .call(this.doCmd('previousObject'))
|
| .expectSpeech('List item')
|
| .call(this.doCmd('previousObject'))
|
| @@ -906,3 +902,31 @@ TEST_F('BackgroundTest', 'OptionChildIndexCount', function() {
|
| .replay();
|
| });
|
| });
|
| +
|
| +TEST_F('BackgroundTest', 'ListMarkerIsIgnored', function() {
|
| + var mockFeedback = this.createMockFeedback();
|
| + this.runWithLoadedTree(function(root) {/*!
|
| + <ul><li>apple</ul>
|
| + */}, function(root) {
|
| + mockFeedback.call(doCmd('nextObject'))
|
| + .expectNextSpeechUtteranceIsNot('listMarker')
|
| + .expectSpeech('apple')
|
| + .replay();
|
| + });
|
| +});
|
| +
|
| +TEST_F('BackgroundTest', 'SymetricComplexHeading', function() {
|
| + var mockFeedback = this.createMockFeedback();
|
| + this.runWithLoadedTree(function(root) {/*!
|
| + <h4><p>NW</p><p>NE</p></h4>
|
| + <h4><p>SW</p><p>SE</p></h4>
|
| + */}, function(root) {
|
| + mockFeedback.call(doCmd('nextHeading'))
|
| + .expectNextSpeechUtteranceIsNot('NE')
|
| + .expectSpeech('NW')
|
| + .call(doCmd('previousHeading'))
|
| + .expectNextSpeechUtteranceIsNot('NE')
|
| + .expectSpeech('NW')
|
| + .replay();
|
| + });
|
| +});
|
|
|