tests: make the waitFor helper more reliable and less spammy (#4065)

pull/4074/head
John McLear 2020-05-30 17:10:50 +01:00 committed by GitHub
parent 520b20a3ca
commit 5000997a9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ var helper = {};
}
helper.waitFor = function(conditionFunc, _timeoutTime, _intervalTime){
var timeoutTime = _timeoutTime || 1000;
var intervalTime = _intervalTime || 10;
var timeoutTime = _timeoutTime || 10000;
var intervalTime = _intervalTime || 100;
var deferred = $.Deferred();