commit | 52160654f82efb9d8b914f50d03e684f2a86d62c | [log] [tgz] |
---|---|---|
author | Vadym Doroshenko <dvadym@chromium.org> | Mon Jul 30 16:58:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 30 16:58:40 2018 |
tree | b6dd35ed26ea0094d63a9dbba45138ef99cff394 | |
parent | 64a3d2da689ff2ce03ec89332a9b2e1d663a2e08 [diff] |
Fix flakiness in PasswordGenerationInteractiveTest.PopupShownAndPasswordSelected The reason of flakiness is the following: 1.SendKeyToPopup(ui::VKEY_RETURN) initiates sending MOJO message with a generated password to the renderer. 2.And then immediate GetFieldValue("password_field") runs JavaScript for extracting of value of password field, which might be not filled yet, depending on timing of MOJO from 1 and executing JavaScript. This CL fixes this with the same approach as in PasswordManagerBrowserTestBase::WaitForElementValue namely waiting for filling password field value. The flakiness of this test becomes especially bad after CL https://chromium-review.googlesource.com/c/chromium/src/+/1146724 . Because that CL makes renderer part significantly faster, as result the test fails in about 50% of cases. Bug: 866444 Change-Id: Ifbe521bf824a1055d9955a7764e5d1cae11307aa Reviewed-on: https://chromium-review.googlesource.com/1154914 Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#579073}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .