• Xida Chen's avatar
    Deflake one of the TouchActionBrowserTests · d8484b3b
    Xida Chen authored
    The specific test is PanXYAtAutoXOverlapAreaMainThreadJanky.
    In this test, we added some jank to the main thread, and I believe that
    is causing the flakiness. We expect it to scroll along the X direction
    for at least 22 pixels. In the result, it does scroll 20 pixels. Since
    we are adding the jank to the main thread which could make the test
    scroll with unexpected scroll amount, we should just make sure that it
    does scrolled instead of comparing the scrolled amount.
    
    Bug: 850715
    Change-Id: I0452ac7e4cc7af1f9c9be616bd160d44c1bf7930
    Reviewed-on: https://chromium-review.googlesource.com/1092878
    Commit-Queue: Xida Chen <xidachen@chromium.org>
    Reviewed-by: default avatarTimothy Dresser <tdresser@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#566029}
    d8484b3b
touch_action_browsertest.cc 18.5 KB