Prefer waitForAnimationUpdates
over wait
#6291
Merged
waitForAnimationUpdates
over wait
#6291