You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: ensure that code frames within cy.origin point to the right line of the code (#32597)
* fix: ensure that code frames within cy.origin point to the right line of the code
* additional tests
* additional tests
* changelog
* Apply suggestions from code review
* Update system-tests/projects/e2e/cypress/e2e/cy_origin_error.cy.ts
* fix tests
* fix tests
* clean up
Copy file name to clipboardExpand all lines: cli/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ _Released 10/07/2025 (PENDING)_
6
6
**Bugfixes:**
7
7
8
8
- Fixed a regression introduced in [`15.0.0`](https://docs.cypress.io/guides/references/changelog#15-0-0) where `dbus` connection error messages appear in docker containers when launching Cypress. Fixes [#32290](https://github.com/cypress-io/cypress/issues/32290).
9
+
- Fixed code frames in `cy.origin` so that failed commands will show the correct line/column within the corresponding spec file. Addressed in [#32597](https://github.com/cypress-io/cypress/pull/32597).
expect(normalizedUserInvocationStack).toEqual(` at eval (eval at invokeOriginFn (cypress:///../driver/src/cross-origin/origin_fn.ts), <anonymous>:2:16)`)
0 commit comments