mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 03:16:16 -04:00
try
This commit is contained in:
parent
21d6a8d7e3
commit
c10e525c68
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ describe("All the alphabet works n stuff", function(){
|
||||||
let code;
|
let code;
|
||||||
for (let index = 0; index < expectedString.length; index++){
|
for (let index = 0; index < expectedString.length; index++){
|
||||||
code = expectedString.charCodeAt(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(){
|
helper.waitFor(function(){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue