小编Seb*_*not的帖子

如何在Intern 2功能测试中加载pollUntil帮助器

实习生2文档提供了以下在加载测试页面后等待条件为真的示例:

this.remote
    .get(require.toUrl('./SomeTest.html'))
    .then(pollUntil('return window.ready;', 5000));
Run Code Online (Sandbox Code Playgroud)

不幸的是,它没有解释如何加载pollUntil助手以便在前面的例子中使用它...有没有人有一个使用pollUntil的完整工作示例?

谢谢你的帮助.

intern

6
推荐指数
1
解决办法
649
查看次数

标签 统计

intern ×1