From 4910396f402a3ce5a08f3f4e4272583f1933b9e8 Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 15 Mar 2021 12:54:11 +0000 Subject: [PATCH] Update responsiveness.js --- src/tests/frontend/specs/responsiveness.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/tests/frontend/specs/responsiveness.js b/src/tests/frontend/specs/responsiveness.js index e6b3d4f2a..74a5ed90c 100644 --- a/src/tests/frontend/specs/responsiveness.js +++ b/src/tests/frontend/specs/responsiveness.js @@ -8,15 +8,16 @@ describe('Responsiveness of Editor', function () { // create a new pad before each test run beforeEach(function (cb) { helper.newPad(cb, 'TEST_PAD_collab'); - this.timeout(600000); + this.timeout(60000000); }); it('Fast response to keypress in pad with large amount of contents', async function () { - this.timeout(9999999); + this.timeout(999999999); if (top.window.location.search.indexOf('&collab=true') === -1) this.skip(); - const numberOfEdits = 1500; // TODO; edit to 1500 or so + const numberOfEdits = 3000; // creates ~700 lines - // wait a minute for everyone to connect + // wait a minute for everyone to connect, this is skipped if &test=true is in the url + // so that it's easier to do local debug/testing without lots of users connected if (top.window.location.search.indexOf('&test=true') === -1) { await helper.waitForPromise( () => parseInt(helper.padChrome$('#online_count').text()) >= 4, 60000);