Skip to main content

All Questions

Tagged with
3 votes
1 answer
274 views

Testing async code: are long sleeps acceptable?

I am testing some AngularJS code using Selenium. Angular updates the DOM in unpredictable order, sometimes completely async (via setTimeout), so it is difficult to know when the DOM has been ...
billc.cn's user avatar
  • 630