From 14c2987afcc4ccb5e0e41cd4aad3d0803afd90b5 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 27 Jan 2021 05:50:17 +0000 Subject: [PATCH] longer timeouts --- tests/frontend/specs/authorship_of_editions.js | 8 ++++---- tests/frontend/specs/chat.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/frontend/specs/authorship_of_editions.js b/tests/frontend/specs/authorship_of_editions.js index 5b6e6f332..539220417 100644 --- a/tests/frontend/specs/authorship_of_editions.js +++ b/tests/frontend/specs/authorship_of_editions.js @@ -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); - }, 5000); + }, 10000); }); }); }); @@ -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(500); + this.timeout(1000); 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(500); + this.timeout(1000); 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(500); + this.timeout(1000); changeLineAndCheckOnlyThatChangeIsFromThisAuthor(LINE_WITH_UNORDERED_LIST, 'z', done); }); diff --git a/tests/frontend/specs/chat.js b/tests/frontend/specs/chat.js index 67ef1c6b7..6f5e9b5a4 100644 --- a/tests/frontend/specs/chat.js +++ b/tests/frontend/specs/chat.js @@ -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 () { - this.timeout(2000); + this.timeout(3000); const chatValue = 'JohnMcLear'; 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 () { - this.timeout(2000); + this.timeout(3000); const chatValue = 'mluto'; await helper.showChat(); @@ -108,9 +108,9 @@ describe('Chat messages and UI', function () { done(); }, }); - }, 2000); + }, ); }, }); - }, 2000); + }, 3000); }); });