-
Notifications
You must be signed in to change notification settings - Fork 3.3k
feat: extend Cypress.Keyboard.Keys and cy.press to support all keyboard keys #31496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
packages/server/lib/automation/commands/key_press.ts:134
- The code mapping for 'ArrowUp' uses 'U+0010', which is also used for 'Shift' in this mapping. Please verify against the CDP specification and assign a unique key code for 'ArrowUp'.
'ArrowUp': 'U+0010',
'F11': '\uE03B', | ||
'F12': '\uE03C', | ||
'Escape': '\uE00C', | ||
'CapsLock': '\uE008', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The BiDi mapping for 'CapsLock' shares the same code ('\uE008') with 'Shift'. Each key should have a unique mapping, so please update one of them to the correct value according to the expected key codes.
'CapsLock': '\uE008', | |
'CapsLock': '\uE025', |
Copilot uses AI. Check for mistakes.
cypress
|
Project |
cypress
|
Branch Review |
feat-all-keys
|
Run status |
|
Run duration | 13m 03s |
Commit |
|
Committer | Jennifer Shehane |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
8
|
|
1
|
|
380
|
|
0
|
|
4997
|
View all changes introduced in this branch ↗︎ |
Warning
Partial Report: The results for the Application Quality reports may be incomplete.
UI Coverage
16.76%
|
|
---|---|
|
247
|
|
46
|
Accessibility
61.44%
|
|
---|---|
|
6 critical
9 serious
4 moderate
0 minor
|
|
709
|
Tests for review
The first 5 failed specs are shown, see all 1423 specs in Cypress Cloud.
cypress/e2e/studio/studio.cy.ts • 1 flaky test • app-e2e
Test | Artifacts | |
---|---|---|
Cypress Studio > does not remove the studio url parameters if saving fails |
Test Replay
Screenshots
|
Additional details
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?