jupiterjs/funcunit — Issue #27: Need a way to wait for animations to finish
Author: ccummings
Created: 2012-01-25 22:20:02+00:00
State: open

When dealing with applications with animations, it would be useful to have a wait that waits for all current animations to be finished before proceeding with the rest of the test.

Right now, the instance of jQuery that is running the test (S) and the version running in the app ($) have separate animation queues. This means S(':animated') will always be empty and so S(':animated').missing() will return immediately even though the application still has elements in the animation queue.