tests: timeouts for tests (#4773)

This commit is contained in:
John McLear 2021-02-13 19:00:06 +00:00 committed by GitHub
parent f9ec49d7ac
commit e585d321f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 368 additions and 4 deletions

View file

@ -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');