• Olga Gerchikov's avatar
    Fixed flaky playback-rate test. · 6a386512
    Olga Gerchikov authored
    Root cause for the flakiness:
      1.Due to crbug.com/937382, composited worklet animation current time is not identical to the
        current time passed to the animator instance in the worklet scope (which is passed through to
        local time in this test).
      2.Not waiting enough for the compositing thread to update the styles.
    The fix:
      1.Changed the test to compare against reference worklet animation's effect local time that has
        default playback rate.
      2.Explicitly wait for the style updates before comparing to the expected results.
    
    Bug: 915352
    Change-Id: I35cb3f89048568bc830aff8a6473f6d2aef5aaeb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1497789
    Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
    Reviewed-by: default avatarMajid Valipour <majidvp@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#638721}
    6a386512
TestExpectations 554 KB