Question: Wrong keycode expected when using shift modifier in EventsTest::testKeybordEvents?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start with tests/Js/EventsTest.php at lines 104-105 and the provider at line 117. Reproduce the keyboard event test for plain r and Shift+r, then align the assertion with the observed keycodes and run EventsTest to confirm the expected behavior.
Written by the indexing model from the issue text.
Description
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:
https://github.com/minkphp/driver-testsuite/blob/d208035ccc5eaf4f1def0299a1979c1851a9a0fb/tests/Js/EventsTest.php#L104-L105 Provider: https://github.com/minkphp/driver-testsuite/blob/d208035ccc5eaf4f1def0299a1979c1851a9a0fb/tests/Js/EventsTest.php#L117
Pressed r:

Pressed shift+r:

- Dominant language
- PHP
- Stars
- 8
- Forks
- 29
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from minkphp/driver-testsuite
-
bug question
Difficulty 4/5 3-5 days Newbie friendliness 30/100
minkphp/driver-testsuite#110 · 6 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
minkphp/driver-testsuite#109 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
minkphp/driver-testsuite#104 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
minkphp/driver-testsuite#94 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
minkphp/driver-testsuite#92 · 1 comment ·
All issues in minkphp/driver-testsuite
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100