From 5000997a9fd3889a90cccbdf538a36e4ba2fab6f Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 30 May 2020 17:10:50 +0100 Subject: [PATCH] tests: make the waitFor helper more reliable and less spammy (#4065) --- tests/frontend/helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/frontend/helper.js b/tests/frontend/helper.js index 21cdacd9d..8f4f0887b 100644 --- a/tests/frontend/helper.js +++ b/tests/frontend/helper.js @@ -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();