[FIX] web: increase clickbot click timeout
It happens that some pages are exceeding the click timeout of ten seconds. Notably the settings, and as the settings are linked to different menu's, it's difficult to black-list them. closes odoo/odoo#98525 X-original-commit: 26665a5055842a40f3beb718bd63546758f190f4 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
* @param {function} stopCondition a function that returns a boolean
|
||||
* @returns {Promise} that is rejected if the timeout is exceeded
|
||||
*/
|
||||
function waitForCondition(stopCondition, tl = 10000) {
|
||||
function waitForCondition(stopCondition, tl = 30000) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
const interval = 250;
|
||||
let timeLimit = tl;
|
||||
|
||||
Reference in New Issue
Block a user