Update responsiveness.js

collab-tests-sl
John McLear 2021-03-15 11:09:44 +00:00
parent 754aa8363b
commit 4e38c5714f
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ describe('Responsiveness of Editor', function () {
while (i < numberOfEdits) {
// Put the text contents into the pad
// intentional white space at end of string
helper.padInner$('div').last().sendkeys('{rightarrow}');
helper.padInner$('div').last().sendkeys('{rightarrow}');
helper.padInner$('div').last().sendkeys('{rightarrow}');
helper.padInner$('div').last().sendkeys('{rightarrow}');
helper.padInner$('div').last().sendkeys(`${Math.random().toString(36).substring(7)} `);
// wait 1500 milliseconds to simulate 40wpm
await wait(1500);