Fix PasswordManagerInteractiveTest flakiness.
- rewrite WaitForElementValue for the UI test. The existing implementation uses onchange event. It's problematic for the real keystroke because the event is triggered on focus change only. oninput is the right choice here. - use WaitForElementValue in FillElementWithValue to enforce that the right input handles the keystrokes. Bug: 1024902 Change-Id: Ib7752e39b62d20c73ed06ff85f4fdea641d0955d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919154 Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:Vadym Doroshenko <dvadym@chromium.org> Cr-Commit-Position: refs/heads/master@{#716115}
Showing
Please register or sign in to comment