How can I write a Visual Studio WebAii Test that waits for a jQuery animate operation to complete before continuing?
Currently I'm just pausing for 5 seconds using a loop, but this is prone to breaking easily if the animation time changes.
I've tried some wait methods in the WebAii API but none of them seem to wait for that kind of thing. I think the closest I've come is Actions.WaitForElement(..) however the element that's being animated is already in the DOM so this doesn't seem to work. The wait methods also seem obscure to me.