[Autofill Assistant] Attempt to fix flaky test
The reason for making a "snapshot" check on the keyboard is (or was) to check against the following scenario: * Keyboard showed up * Keyboard was suppressed and hidden The "snapshot" does not guard better than the waiting in this case. Waiting for the keyboard should prove to be more stable because it also covers cases where the keyboard is not yet open but will appear in a short while. The case where the keyboard is suppressed is not properly covered in both cases. Bug: 1108350 Change-Id: I196782916c4d35376d8d2afd6ab46f91265e0f19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2314177Reviewed-by:Luca Hunkeler <hluca@google.com> Commit-Queue: Sandro Maggi <sandromaggi@google.com> Cr-Commit-Position: refs/heads/master@{#791195}
Showing
Please register or sign in to comment