mardi 13 septembre 2016

What is untrackOutstandingTimeouts setting for in Protractor?

In the Protractor reference configuration, there is the untrackOutstandingTimeouts setting mentioned:

// 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,

I've never seen anyone changing the setting. What is the practical usage of the setting? When should I set it to true?

Aucun commentaire:

Enregistrer un commentaire