• Toni Barzic's avatar
    Fix OverviewSessionFlingTest.BasicFling flakiness · 46ba2041
    Toni Barzic authored
    The test has started failing on official builds after CL:2333141. That
    change prevents home button bounds animations that would not actually
    change the button's bounds. It looks like removed compositing requests
    (caused by setting identical button bounds/transform) caused
    OverviewSessionFlingTest.BasicFling to end before sufficient number of
    grid fling animation steps get handled.
    This updates the test to wait for compositing to start during each test
    iteration (as animation steps depend on compositing).
    
    BUG=None
    
    Change-Id: I0ed5946be12300e8e450d2796acf7e7318f8c914
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2333742
    Commit-Queue: Toni Baržić <tbarzic@chromium.org>
    Reviewed-by: default avatarSammie Quon <sammiequon@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#794265}
    46ba2041
overview_session_unittest.cc 336 KB