tests: sendkeys: Fix {enter} keypress event

This commit is contained in:
Richard Hansen 2021-07-13 21:16:26 -04:00 committed by webzwo0i
parent c6f643dd75
commit ce5ef9350f
2 changed files with 2 additions and 3 deletions

View file

@ -89,7 +89,6 @@ describe('change user color', function () {
$chatButton.click();
const $chatInput = chrome$('#chatinput');
$chatInput.sendkeys('O hi'); // simulate a keypress of typing user
// simulate a keypress of enter actually does evt.which = 10 not 13
$chatInput.sendkeys('{enter}');
// wait until the chat message shows up