Attempt to reduce flakiness in TextSuggestionMenuTest#testApplySuggestion()
This test is intermittently failing. Based on the screenshots from the failing try bots, it appears the issue is that the test is tapping at the beginning of "hello world" instead of at the end. I'm unable to reproduce the problem locally, but my best guess as to why this is happening is that we're not waiting to make sure the text has actually been committed before attempting to find the bounds of the span element that's supposed to be after the text, so I'm adding this check (which we also have in testDeleteWordMarkedWithSpellingMarker()). Bug: 789954 Change-Id: I06b85282057c361adc9da3f6ee289870ecf0c164 Reviewed-on: https://chromium-review.googlesource.com/802187Reviewed-by:Changwan Ryu <changwan@chromium.org> Commit-Queue: Ryan Landay <rlanday@chromium.org> Cr-Commit-Position: refs/heads/master@{#521804}
Showing
Please register or sign in to comment