mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
tests: timeouts for tests (#4773)
This commit is contained in:
parent
f9ec49d7ac
commit
e585d321f9
42 changed files with 368 additions and 4 deletions
|
@ -30,6 +30,7 @@ describe('chat-load-messages', function () {
|
|||
});
|
||||
|
||||
it('checks initial message count', function (done) {
|
||||
this.timeout(1000);
|
||||
let chatText;
|
||||
const expectedCount = 101;
|
||||
const chrome$ = helper.padChrome$;
|
||||
|
@ -45,6 +46,7 @@ describe('chat-load-messages', function () {
|
|||
});
|
||||
|
||||
it('loads more messages', function (done) {
|
||||
this.timeout(3000);
|
||||
const expectedCount = 122;
|
||||
const chrome$ = helper.padChrome$;
|
||||
const chatButton = chrome$('#chaticon');
|
||||
|
@ -60,6 +62,7 @@ describe('chat-load-messages', function () {
|
|||
});
|
||||
|
||||
it('checks for button vanishing', function (done) {
|
||||
this.timeout(2000);
|
||||
const expectedDisplay = 'none';
|
||||
const chrome$ = helper.padChrome$;
|
||||
const chatButton = chrome$('#chaticon');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue