When I send "r" to the browser then keycode 114 is used but when I send r and modifier shift to browser then keycode 82 is used.
I encounter a problem because test case always expects keycode 114.
Assertion:
|
$input2->keyPress('r', $modifier); |
|
$this->assertEquals('key pressed:114 / '.$eventProperties, $event->getText()); |
Provider:
|
'ctrl' => array('ctrl', '0 / 1 / 0 / 1'), |
Pressed r:

Pressed shift+r:

When I send "r" to the browser then keycode
114is used but when I sendrand modifiershiftto browser then keycode82is used.I encounter a problem because test case always expects keycode
114.Assertion:
$input2->keyPress('r', $modifier);
$this->assertEquals('key pressed:114 / '.$eventProperties, $event->getText());
Provider:
'ctrl' => array('ctrl', '0 / 1 / 0 / 1'),
driver-testsuite/tests/Js/EventsTest.php
Lines 104 to 105 in d208035
driver-testsuite/tests/Js/EventsTest.php
Line 117 in d208035
Pressed


r:Pressed
shift+r: