diff --git a/docs/api/commands/press.mdx b/docs/api/commands/press.mdx index edd5040a27..7221a48671 100644 --- a/docs/api/commands/press.mdx +++ b/docs/api/commands/press.mdx @@ -67,10 +67,11 @@ The key to press. Values for non single character keys are available on [`Cypres | Letters | `"a"` through `"z"`, `"A"` through `"Z"` | | Numbers | `"0"`, `"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"` | | Special Characters | `"!"`, `"@"`, `"#"`, `'+'`, `"€"`, `"é"`, etc. | +| `Cypress.Keyboard.Keys.UP` | `"ArrowUp"` | | `Cypress.Keyboard.Keys.DOWN` | `"ArrowDown"` | | `Cypress.Keyboard.Keys.LEFT` | `"ArrowLeft"` | | `Cypress.Keyboard.Keys.RIGHT` | `"ArrowRight"` | -| `Cypress.Keyboard.Keys.UP` | `"ArrowUp"` | +| `Cypress.Keyboard.Keys.ESC` | `"Escape"` | | `Cypress.Keyboard.Keys.END` | `"End"` | | `Cypress.Keyboard.Keys.HOME` | `"Home"` | | `Cypress.Keyboard.Keys.PAGEDOWN` | `"PageDown"` | @@ -167,10 +168,11 @@ If your application prevents the default behavior of the `beforeunload` event, t ## History -| Version | Changes | -| ------------------------------------------ | ----------------------------------------------------------------------------------- | -| [15.1.0](/app/references/changelog#15-1-0) | Expanded support to include named keys and single+multi-codepoint UTF-8 characters. | -| [14.3.0](/app/references/changelog#14-3-0) | Added the `.press()` command | +| Version | Changes | +| ----------------------------------- | ----------------------------------------------------------------------------------- | +| [15.3.0](/app/references/changelog) | Added support for `{esc}` key. | +| [15.1.0](/app/references/changelog) | Expanded support to include named keys and single+multi-codepoint UTF-8 characters. | +| [14.3.0](/app/references/changelog) | Added the `.press()` command | ## See also diff --git a/docs/api/cypress-api/keyboard-api.mdx b/docs/api/cypress-api/keyboard-api.mdx index e01f3ab19f..694b5471d7 100644 --- a/docs/api/cypress-api/keyboard-api.mdx +++ b/docs/api/cypress-api/keyboard-api.mdx @@ -27,9 +27,26 @@ The key available for `cy.press()`. The following keys are supported: -| Reference | Value | -| --------------------------- | ------- | -| `Cypress.Keyboard.Keys.TAB` | `"Tab"` | +| Reference | Value | +| --------------------------------- | -------------------------------------------------------------------- | +| Letters | `"a"` through `"z"`, `"A"` through `"Z"` | +| Numbers | `"0"`, `"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"` | +| Special Characters | `"!"`, `"@"`, `"#"`, `'+'`, `"€"`, `"é"`, etc. | +| `Cypress.Keyboard.Keys.UP` | `"ArrowUp"` | +| `Cypress.Keyboard.Keys.DOWN` | `"ArrowDown"` | +| `Cypress.Keyboard.Keys.LEFT` | `"ArrowLeft"` | +| `Cypress.Keyboard.Keys.RIGHT` | `"ArrowRight"` | +| `Cypress.Keyboard.Keys.ESC` | `"Escape"` | +| `Cypress.Keyboard.Keys.END` | `"End"` | +| `Cypress.Keyboard.Keys.HOME` | `"Home"` | +| `Cypress.Keyboard.Keys.PAGEDOWN` | `"PageDown"` | +| `Cypress.Keyboard.Keys.PAGEUP` | `"PageUp"` | +| `Cypress.Keyboard.Keys.ENTER` | `"Enter"` | +| `Cypress.Keyboard.Keys.TAB` | `"Tab"` | +| `Cypress.Keyboard.Keys.BACKSPACE` | `"Backspace"` | +| `Cypress.Keyboard.Keys.DELETE` | `"Delete"` | +| `Cypress.Keyboard.Keys.INSERT` | `"Insert"` | +| `Cypress.Keyboard.Keys.SPACE` | `"Space"` | ### defaults Arguments diff --git a/docs/app/references/changelog.mdx b/docs/app/references/changelog.mdx index f6c16249ef..052827fb09 100644 --- a/docs/app/references/changelog.mdx +++ b/docs/app/references/changelog.mdx @@ -8,6 +8,31 @@ sidebar_label: Changelog # Changelog +## 15.3.0 + +_Released 9/23/2025_ + +**Features:** + +- Added Escape key support to [`cy.press()`](http://on.cypress.io/api/press). Addresses[#32429](https://github.com/cypress-io/cypress/issues/32429). Addressed in [#32545](https://github.com/cypress-io/cypress/pull/32545). + +**Bugfixes:** + +- In development mode, Electron `stderr` is piped directly to Cypress' `stderr` to make it clear why Electron failed to start, if it fails to start. Fixes [#32358](https://github.com/cypress-io/cypress/issues/32358). Addressed in [32468](https://github.com/cypress-io/cypress/pull/32468). +- Fixed an issue where ESM Cypress configurations were not being interpreted correctly. Fixes [#32493](https://github.com/cypress-io/cypress/issues/32493). Fixed in [#32515](https://github.com/cypress-io/cypress/pull/32515). + +**Misc:** + +- Update the styles for command grouping 'line' so on expansion it is displayed correctly. Addressed in [#32521](https://github.com/cypress-io/cypress/pull/32521). +- Test hook names now correctly display with a semi-bold font weight. Addresses [#32477](https://github.com/cypress-io/cypress/issues/32477). Addressed in [#32491](https://github.com/cypress-io/cypress/pull/32491). +- Updated the Cypress Studio panel to not show bottom border. Addresses [#32478](https://github.com/cypress-io/cypress/issues/32478). + +**Dependency Updates:** + +- Upgraded `electron` from `36.4.0` to `36.8.1`. Addressed in [#32371](https://github.com/cypress-io/cypress/pull/32371). +- Upgraded bundled Node.js version from `22.15.1` to `22.18.0`. Addressed in [#32371](https://github.com/cypress-io/cypress/pull/32371). +- Upgraded bundled Chromium version from `136.0.7103.149` to `136.0.7103.177`. Addressed in [#32371](https://github.com/cypress-io/cypress/pull/32371). + ## 15.2.0 _Released 9/9/2025_