codeceptjs 3.6.5-beta.1 → 3.6.5-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,8 +106,8 @@ module.exports = function (config) {
|
|
|
106
106
|
recorder.add('screenshot of failed test', async () => persistStep(step), true)
|
|
107
107
|
})
|
|
108
108
|
|
|
109
|
-
event.dispatcher.on(event.step.
|
|
110
|
-
recorder.add('screenshot of
|
|
109
|
+
event.dispatcher.on(event.step.after, (step) => {
|
|
110
|
+
recorder.add('screenshot of step of test', async () => persistStep(step), true)
|
|
111
111
|
})
|
|
112
112
|
|
|
113
113
|
event.dispatcher.on(event.test.passed, (test) => {
|