longer timeouts

This commit is contained in:
John McLear 2021-01-27 05:50:17 +00:00
parent 4c825d3060
commit 14c2987afc
2 changed files with 8 additions and 8 deletions

View file

@ -48,7 +48,7 @@ describe('author of pad edition', function () {
helper.padChrome$.document.cookie = 'token=foo;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/'; helper.padChrome$.document.cookie = 'token=foo;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/';
helper.newPad(done, padId); helper.newPad(done, padId);
}, 5000); }, 10000);
}); });
}); });
}); });
@ -58,17 +58,17 @@ describe('author of pad edition', function () {
// author 2 makes some changes on the pad // author 2 makes some changes on the pad
it('marks only the new content as changes of the second user on a regular line', function (done) { it('marks only the new content as changes of the second user on a regular line', function (done) {
this.timeout(500); this.timeout(1000);
changeLineAndCheckOnlyThatChangeIsFromThisAuthor(REGULAR_LINE, 'x', done); changeLineAndCheckOnlyThatChangeIsFromThisAuthor(REGULAR_LINE, 'x', done);
}); });
it('marks only the new content as changes of the second user on a line with ordered list', function (done) { it('marks only the new content as changes of the second user on a line with ordered list', function (done) {
this.timeout(500); this.timeout(1000);
changeLineAndCheckOnlyThatChangeIsFromThisAuthor(LINE_WITH_ORDERED_LIST, 'y', done); changeLineAndCheckOnlyThatChangeIsFromThisAuthor(LINE_WITH_ORDERED_LIST, 'y', done);
}); });
it('marks only the new content as changes of the second user on a line with unordered list', function (done) { it('marks only the new content as changes of the second user on a line with unordered list', function (done) {
this.timeout(500); this.timeout(1000);
changeLineAndCheckOnlyThatChangeIsFromThisAuthor(LINE_WITH_UNORDERED_LIST, 'z', done); changeLineAndCheckOnlyThatChangeIsFromThisAuthor(LINE_WITH_UNORDERED_LIST, 'z', done);
}); });

View file

@ -7,7 +7,7 @@ describe('Chat messages and UI', function () {
}); });
it('opens chat, sends a message, makes sure it exists and hides chat', async function () { it('opens chat, sends a message, makes sure it exists and hides chat', async function () {
this.timeout(2000); this.timeout(3000);
const chatValue = 'JohnMcLear'; const chatValue = 'JohnMcLear';
await helper.showChat(); await helper.showChat();
@ -30,7 +30,7 @@ describe('Chat messages and UI', function () {
}); });
it("makes sure that an empty message can't be sent", async function () { it("makes sure that an empty message can't be sent", async function () {
this.timeout(2000); this.timeout(3000);
const chatValue = 'mluto'; const chatValue = 'mluto';
await helper.showChat(); await helper.showChat();
@ -108,9 +108,9 @@ describe('Chat messages and UI', function () {
done(); done();
}, },
}); });
}, 2000); }, );
}, },
}); });
}, 2000); }, 3000);
}); });
}); });