More integrations! More tests!
Tests are being added to select_to_speak/*.extjs under the build target select_to_speak_extension_tests.
More detailed tests need to be added!
And here's a comment from Dominic on other ways to test:
<body>
<p>Here is some text</p>
<script>
var p = document.querySelector('p');
var range = document.createRange();
range.selectNodeContents(document.querySelector('p'););
window.getSelection().addRange(range);
</script>
</body>
Basically I think there are some ranges you could get via the DOM
or via selecting with the mouse or keyboard that wouldn't be possible
to select using chrome.automation.setDocumentSelection, and we should
be able to test them all.
Comment 1 by bugdroid1@chromium.org
, Feb 6 2018