• Jun Mukai's avatar
    stabilize CheckHostedAppMenuClickable test · 1d4927a6
    Jun Mukai authored
    HostedAppAshInteractiveUITest.MenuButtonClickable is flaky with
    SingleProcessMash, and I think it could be the case of unstable
    mouse location. When mouse move events occur during the test,
    then the last mouse location could change and then further
    mouse clicks occur on an unexpected location.
    
    UIControlsFactoryOzone can remember the last specified location
    and can use the remembered location for clicks. This will
    stabilize the HostedAppAshInteractiveUITest.MenuButtonClickable,
    and I hope others will get benefits.
    
    BUG=890953
    TEST=locally interactive_ui_tests --enable-features=SingleProcessMash
    
    Change-Id: I3542a5a961dd4e7e8819e924d1d0c170c4dfaff1
    Reviewed-on: https://chromium-review.googlesource.com/c/1255607
    Commit-Queue: Jun Mukai <mukai@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#596034}
    1d4927a6
ui_controls_factory_ozone.cc 12.4 KB