Deflake the IME tests on Kitkat Tablet devices
The underlying problem is how Chrome determines what action mode should be shown on long press. If you long press on whitespace, then just the paste popup is shown. If you long press on text, then cut/copy/paste is shown. On these test devices, it simply happened to touch on whitespace where other devices would touch on the text based on the offsets calculated. This changes the bulk of the tests to not have whitespace at all to avoid this. For testLongPressInputWhileComposingText, it just makes the first portion of the text very long to avoid the mismatch (not fool proof, but better). BUG=907573 Change-Id: I87fabd8d6fcc8a532976e2abe028e60664e3c7f5 Reviewed-on: https://chromium-review.googlesource.com/c/1353953Reviewed-by:Changwan Ryu <changwan@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#611876}
Showing
Please register or sign in to comment