【发布时间】:2017-01-21 06:22:48
【问题描述】:
在量角器参考配置中,提到了untrackOutstandingTimeouts setting:
// Protractor will track outstanding $timeouts by default, and report them in
// the error message if Protractor fails to synchronize with Angular in time.
// In order to do this Protractor needs to decorate $timeout.
// CAUTION: If your app decorates $timeout, you must turn on this flag. This
// is false by default.
untrackOutstandingTimeouts: false,
我从未见过有人更改设置。该设置的实际用途是什么?什么时候应该设置为true?
【问题讨论】:
标签: javascript angularjs testing automation protractor