This commit is contained in:
webzwo0i 2020-11-14 17:30:41 +01:00
parent 21d6a8d7e3
commit c10e525c68

View file

@ -21,7 +21,9 @@ describe("All the alphabet works n stuff", function(){
let code;
for (let index = 0; index < expectedString.length; index++){
code = expectedString.charCodeAt(index);
$(firstTextElement).trigger({type: 'keypress', which: code, keyCode: code, ctrlKey: false});
$(firstTextElement).trigger({type: 'keydown', which: code});
$(firstTextElement).trigger({type: 'keypress', which: code});
$(firstTextElement).trigger({type: 'keyup', which: code});
}
helper.waitFor(function(){