mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
adminsettings test: increase jquery.ajax timeout
This commit is contained in:
parent
5dcb7a7549
commit
df8219c66d
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ describe('Admin > Settings', function () {
|
|||
url: new URL('/stats', window.location.href),
|
||||
method: 'GET',
|
||||
dataType: 'json',
|
||||
timeout: 450, // Slightly less than the waitForPromise() interval.
|
||||
timeout: 650, // Slightly less than the waitForPromise() interval.
|
||||
});
|
||||
return httpStartTime;
|
||||
} catch (err) {
|
||||
|
@ -72,7 +72,7 @@ describe('Admin > Settings', function () {
|
|||
await helper.waitForPromise(async () => {
|
||||
const startTime = await getStartTime();
|
||||
return startTime != null && startTime > 0 && Date.now() > startTime;
|
||||
}, 1000, 500);
|
||||
}, 1700, 1500);
|
||||
const clickTime = Date.now();
|
||||
helper.admin$('#restartEtherpad').click();
|
||||
await helper.waitForPromise(async () => {
|
||||
|
|
Loading…
Reference in a new issue