Fix assertion errors in tutorial_test.js.
Fix two assertion errors: 1. The first error was firing because we were asserting things in the wrong order; to fix it, we just needed to move the assertion after the speech expectation. 2. The second error was firing because we were asserting the current range before it changed. To fix this, we add an extra speech expectation, which is spoken after the range has changed. Bug: N/A Change-Id: I06f9ead1815ce2e2e2c0ce77a6459d8cf3dc8f12 AX-Relnotes: N/A Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2461587Reviewed-by:David Tseng <dtseng@chromium.org> Commit-Queue: Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#817291}
Showing
Please register or sign in to comment