6
實習生2文檔給出了等待條件加載它之後測試頁上是真實的,如下例pollUntil幫手:如何加載在實習2個功能測試
this.remote
.get(require.toUrl('./SomeTest.html'))
.then(pollUntil('return window.ready;', 5000));
不幸的是,這不是」解釋如何加載pollUntil助手以便在前面的示例中使用它...是否有人有一個使用pollUntil的完整工作示例?
感謝您的幫助。