From 1ef0de482dd7a54bf9e8e99e4bd3f22c7a1e3d1e Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Fri, 28 Aug 2020 05:42:29 +0200 Subject: [PATCH] tests: responsiveness - 77 chars on 30000 lines --- tests/frontend/specs/responsiveness.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/frontend/specs/responsiveness.js b/tests/frontend/specs/responsiveness.js index 11eefb069..ec751cf6a 100644 --- a/tests/frontend/specs/responsiveness.js +++ b/tests/frontend/specs/responsiveness.js @@ -22,8 +22,8 @@ describe('Responsiveness of Editor', function() { // @todo also do this with 30k+ lines it('Fast response to keypress in pad with large amount of contents', function(done) { var inner$ = helper.padInner$; - var chars = '00000000000 00000000000000 000000000000 000000000000 00000000000\n'; // row of placeholder chars - var amount = 17000; //number of blocks of chars we will insert + var chars = '00000000000 00000000000 00000000000 00000000000 00000000000 00000000000 00000000000\n'; // row of placeholder chars + var amount = 30000; //number of blocks of chars we will insert var length = (amount * (chars.length) +1); // include a counter for each space var text = ''; // the text we're gonna insert this.timeout(amount * 100);