mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
trying to add a delay to allow browsers to catch up with responsiveness test
This commit is contained in:
parent
37968db022
commit
23dd2ca7d9
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ describe('Responsiveness of Editor', function() {
|
||||||
var end = Date.now(); // get the current time
|
var end = Date.now(); // get the current time
|
||||||
var delay = end - start; // get the delay as the current time minus the start time
|
var delay = end - start; // get the delay as the current time minus the start time
|
||||||
|
|
||||||
expect(delay).to.be.below(400);
|
expect(delay).to.be.below(600);
|
||||||
done();
|
done();
|
||||||
}, 5000);
|
}, 5000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue