cypress-failed-log icon indicating copy to clipboard operation
cypress-failed-log copied to clipboard

Fix Cypress v9.2.0 incompatibility

Open MasonM opened this issue 3 years ago • 0 comments

If you have a test that calls this.skip(), cypress-failed-log will throw an "Cannot read properties of undefined (reading 'message')" exception. If there's multiple such tests, it just stalls forever. Screen Shot 2022-08-23 at 10 08 38 AM

This is due to a change in Cypress 9.2.0 where it no longer triggers the "failed" event for skipped tests: https://github.com/cypress-io/cypress/commit/4a97a5244ed23414d19ef39f9ea0d1f06b97a6ce

MasonM avatar Sep 01 '22 23:09 MasonM