DescriptionIntroduce ui_test_utils::FocusView and de-flake OmniboxViewTest.BeginningShownAfterBlur
Currently interactive UI tests typically call `ClickOnView` to transfer
focus. On Mac, the behaviour of a click changes when an application
loses focus, and re-activating the application in a test is not
reliable. The test application shouldn't be losing focus in
interactive_ui_tests, but tracing suggests this is ocurring anyway.
This CL introduces ui_test_utils::FocusView which is a more robust way
to transfer focus in a test.
OmniboxViewTest.BeginningShownAfterBlur is changed to use
ui_test_utils::FocusView and re-enabled.
BUG=406012
Committed: https://crrev.com/98d6f1e45c66a03b7b583eec3694c84ff7411fec
Cr-Commit-Position: refs/heads/master@{#293516}
Patch Set 1 : experiments and tracing #Patch Set 2 : revert tracing and experiments #Patch Set 3 : Spel more gooder #
Total comments: 2
Patch Set 4 : oops - missing newline #
Messages
Total messages: 12 (4 generated)
|