Skip to content

Commit 56c04cd

Browse files
misc: The exec type was updated from code to exitCode (#32885)
* misc: The exec type was updated from code to exitCode * add changelog entry
1 parent 98d35bb commit 56c04cd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ _Released 11/4/2025 (PENDING)_
2525
- WebKit now prefers a cookie's fully qualified `domain` when requesting a cookie value via [`cy.getCookie()`](https://docs.cypress.io/api/commands/getcookie). If none are found, the cookie's apex domain will be used as a fallback. Addresses [#29954](https://github.com/cypress-io/cypress/issues/29954), [#29973](https://github.com/cypress-io/cypress/issues/29973) and [#30392](https://github.com/cypress-io/cypress/issues/30392). Addressed in [#32852](https://github.com/cypress-io/cypress/pull/32852).
2626
- The 'Next' tooltip style was updated. Addressed in [#32866](https://github.com/cypress-io/cypress/pull/32866).
2727
- Make test name header sticky in studio mode and in the tests list. Addresses [#32591](https://github.com/cypress-io/cypress/issues/32591). Addressed in [#32840](https://github.com/cypress-io/cypress/pull/32840)
28+
- The `cy.exec()` type now reflects the correct yielded response type of `exitCode`. Addresses [#32875](https://github.com/cypress-io/cypress/issues/32875). Addressed in [#32885](https://github.com/cypress-io/cypress/pull/32885).
2829

2930
**Dependency Updates:**
3031

cli/types/cypress.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6476,7 +6476,7 @@ declare namespace Cypress {
64766476
}
64776477

64786478
interface Exec {
6479-
code: number
6479+
exitCode: number
64806480
stdout: string
64816481
stderr: string
64826482
}

0 commit comments

Comments
 (0)