diff --git a/tests/frontend/specs/change_user_name.js b/tests/frontend/specs/change_user_name.js index fb0239605..e15322510 100644 --- a/tests/frontend/specs/change_user_name.js +++ b/tests/frontend/specs/change_user_name.js @@ -7,7 +7,7 @@ describe('change username value', function () { }); it('Remembers the user name after a refresh', async function () { - this.timeout(100); + this.timeout(200); helper.toggleUserList(); helper.setUserName('😃'); @@ -22,7 +22,7 @@ describe('change username value', function () { }); it('Own user name is shown when you enter a chat', async function () { - this.timeout(100); + this.timeout(200); helper.toggleUserList(); helper.setUserName('😃'); diff --git a/tests/frontend/specs/chat.js b/tests/frontend/specs/chat.js index 6c8ee9fdc..afa38543f 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(100); + this.timeout(1000); 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(100); + this.timeout(1000); const chatValue = 'mluto'; await helper.showChat(); @@ -50,7 +50,7 @@ describe('Chat messages and UI', function () { }); it('makes chat stick to right side of the screen via settings, remove sticky via settings, close it', async function () { - this.timeout(200); + this.timeout(1000); await helper.showSettings(); await helper.enableStickyChatviaSettings(); @@ -67,7 +67,7 @@ describe('Chat messages and UI', function () { }); it('makes chat stick to right side of the screen via icon on the top right, remove sticky via icon, close it', async function () { - this.timeout(200); + this.timeout(1000); await helper.showChat(); await helper.enableStickyChatviaIcon(); diff --git a/tests/frontend/specs/chat_load_messages.js b/tests/frontend/specs/chat_load_messages.js index 542932249..7fb120a52 100644 --- a/tests/frontend/specs/chat_load_messages.js +++ b/tests/frontend/specs/chat_load_messages.js @@ -16,8 +16,6 @@ describe('chat-load-messages', function () { const chatInput = chrome$('#chatinput'); const chatText = chrome$('#chattext'); - this.timeout(60000); - const messages = 140; for (let i = 1; i <= messages; i++) { let num = `${i}`; diff --git a/tests/frontend/specs/indentation.js b/tests/frontend/specs/indentation.js index 602c2d65e..a08a780ef 100644 --- a/tests/frontend/specs/indentation.js +++ b/tests/frontend/specs/indentation.js @@ -36,7 +36,7 @@ describe('indentation button', function () { }); it('keeps the indent on enter for the new line', function (done) { - this.timeout(150); + this.timeout(500); const inner$ = helper.padInner$; const chrome$ = helper.padChrome$; @@ -61,7 +61,7 @@ describe('indentation button', function () { }); it("indents text with spaces on enter if previous line ends with ':', '[', '(', or '{'", function (done) { - this.timeout(150); + this.timeout(500); const inner$ = helper.padInner$; // type a bit, make a line break and type again @@ -112,7 +112,7 @@ describe('indentation button', function () { }); it("appends indentation to the indent of previous line if previous line ends with ':', '[', '(', or '{'", function (done) { - this.timeout(150); + this.timeout(500); const inner$ = helper.padInner$; // type a bit, make a line break and type again @@ -137,7 +137,7 @@ describe('indentation button', function () { }); it("issue #2772 shows '*' when multiple indented lines receive a style and are outdented", function (done) { - this.timeout(150); + this.timeout(500); const inner$ = helper.padInner$; const chrome$ = helper.padChrome$; diff --git a/tests/frontend/specs/language.js b/tests/frontend/specs/language.js index f0fff5671..d16b9d4b6 100644 --- a/tests/frontend/specs/language.js +++ b/tests/frontend/specs/language.js @@ -16,7 +16,7 @@ describe('Language select and change', function () { // Destroy language cookies it('makes text german', function (done) { - this.timeout(100); + this.timeout(200); const chrome$ = helper.padChrome$; // click on the settings button to make settings visible @@ -46,7 +46,7 @@ describe('Language select and change', function () { }); it('makes text English', function (done) { - this.timeout(100); + this.timeout(200); const chrome$ = helper.padChrome$; // click on the settings button to make settings visible diff --git a/tests/frontend/specs/undo.js b/tests/frontend/specs/undo.js index 762f50d62..eabc4005d 100644 --- a/tests/frontend/specs/undo.js +++ b/tests/frontend/specs/undo.js @@ -7,7 +7,7 @@ describe('undo button', function () { }); it('undo some typing by clicking undo button', function (done) { - this.timeout(100); + this.timeout(150); const inner$ = helper.padInner$; const chrome$ = helper.padChrome$; @@ -32,7 +32,7 @@ describe('undo button', function () { }); it('undo some typing using a keypress', function (done) { - this.timeout(100); + this.timeout(150); const inner$ = helper.padInner$; // get the first text element inside the editable space