Make sure all background JS is done executing before querying the DOM
Lots of tests di "stuff" that relies on JS execution and then check for a result in the DOM by querying it. We should check make sure all JS has finished executing before we perform the DOM query.
Showing
想要评论请 注册 或 登录