How to get step result in AfterStep method cucumber.js
1 answer
I think the question is about Cucumber.js 1.3x which is pretty old. Cucumber.js 3.x lacks a hook after AfterStep, instead there is a function called setDefinitionFunctionWrapper that can wrap a step definition, which you have a chance to get the result of the step deforming and process it.
Here is the documentation on setDefinitionFunctionWrapper
+1
source to share