testing-library / cypress-testing-library

🐅 Simple and complete custom Cypress commands and utilities that encourage good testing practices.
http://npm.im/@testing-library/cypress
MIT License
1.8k stars 152 forks source link

fix: update error stack traces for Cypress #239

Closed NicholasBoll closed 1 year ago

NicholasBoll commented 1 year ago

Fixes #232

Update the Cypress error message rather than the entire error object. This merges the useful message of DOM Testing Library with the useful context of the Cypress error. This allows Cypress to find the line number of the failure in spec files instead of deep inside DOM Testing Library.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 8.0.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: