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 2845e037ac631f4a368dea6116add49708b0b865..03831e8dd5a56dd9c818d19589d3b9c0407bc677 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs |
@@ -1228,3 +1228,16 @@ TEST_F('BackgroundTest', 'BrailleCaretNavigation', function() { |
.replay(); |
}); |
}); |
+ |
+TEST_F('BackgroundTest', 'InPageLinks', function() { |
+ var mockFeedback = this.createMockFeedback(); |
+ this.runWithLoadedTree(function(root) {/*! |
+ <a href="#there">hi</a> |
+ <button id="there">there</button> |
+ */}, function(root) { |
+ mockFeedback.expectSpeech('hi', 'Internal link') |
+ .call(doCmd('forceClickOnCurrentItem')) |
+ .expectSpeech('there', 'Button') |
+ .replay(); |
+ }); |
+}); |