All Questions
1 question
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 ...