hubidu / bifrost-io

Create awesome E2E Reports. For codeceptjs and others.
6 stars 4 forks source link

Fix error report for failed test. #11

Open antonvasilenko opened 3 years ago

antonvasilenko commented 3 years ago

with codeceptjs v3 there is no more 2nd err argument in Helper._failed(test) method. (That might be also fixed in codeceptjs)

Instead I subscribed to events.test.failed, where this error is provided. Inspired by following other helpers:

Other hooks seems to be without changes in methods' arguments.