Cypress does report beforeEach and afterEach hooks errors only afterEach error #24712
Labels
E2E
Issue related to end-to-end testing
Triaged
Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
type: unexpected behavior
User expected result, but got another
Current behavior
Following test (cypress/e2e/spec.cy.js) throws 2 errors. Both are reported in the console output. But the dashboard only reports one of them. Please see the linked repo for screenshots and logs.
Desired behavior
All errors should be reported in the dashboard.
Test code to reproduce
https://github.com/jjkavalam/cypress-bug-report-1
Cypress Version
11.1.0
Node version
v14.14.0
Operating System
macOS 12.3.1
Other
No response
The text was updated successfully, but these errors were encountered: