more realistic timeouts for slower devices

This commit is contained in:
John McLear 2021-01-27 05:37:54 +00:00
parent 2816820785
commit 21736122a0
5 changed files with 13 additions and 13 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.newPad(done, padId);
}, 1000);
}, 5000);
});
});
});
@ -58,17 +58,17 @@ describe('author of pad edition', function () {
// 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) {
this.timeout(100);
this.timeout(500);
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) {
this.timeout(100);
this.timeout(500);
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) {
this.timeout(100);
this.timeout(500);
changeLineAndCheckOnlyThatChangeIsFromThisAuthor(LINE_WITH_UNORDERED_LIST, 'z', done);
});