cypress-failed-log
cypress-failed-log copied to clipboard
Fix Cypress v9.2.0 incompatibility
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.

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