Skip to content

Conversation

cacieprins
Copy link
Contributor

@cacieprins cacieprins commented Sep 22, 2025

Additional details

Adds the Escape key to the support keys. This list of supported keys is necessary because some need to be overridden with specific unicode codepoints in Webdriver BiDi.

Steps to test

Use cy.press(Cypress.Keyboard.Keys.ESC), and assert that the escape key is pressed.

How has the user experience changed?

PR Tasks

@cacieprins cacieprins marked this pull request as ready for review September 22, 2025 14:51
Copy link

cypress bot commented Sep 22, 2025

cypress    Run #65723

Run Properties:  status check passed Passed #65723  •  git commit 7a8ff35102: on-link to cy.press() in changelog
Project cypress
Branch Review feat/key-press-esc
Run status status check passed Passed #65723
Run duration 10m 35s
Commit git commit 7a8ff35102: on-link to cy.press() in changelog
Committer Cacie Prins
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 3
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 941
View all changes introduced in this branch ↗︎
UI Coverage  40.07%
  Untested elements 181  
  Tested elements 121  
Accessibility  97.9%
  Failed rules  3 critical   8 serious   1 moderate   2 minor
  Failed elements 73  

@cacieprins cacieprins merged commit 8755160 into develop Sep 23, 2025
89 of 90 checks passed
@cacieprins cacieprins deleted the feat/key-press-esc branch September 23, 2025 14:48
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 23, 2025

Released in 15.3.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v15.3.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Sep 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Escape" key support for cy.press

2 participants