Commit 35899df
authored
fix: Cypress v9.2.0 incompatibility (#299)
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:
cypress-io/cypress@4a97a521 parent 644797d commit 35899df
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments