You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve been trying to figure out why the report JSON doesn’t generate if the first step of a scenario is not implemented. The issue doesn’t happen when any other step is not implemented but the first one and it generates a report if the second step or so on is not implemented. The error is correct for the step definition not being implemented. I tried tracing the error to see when the report is being generated and intercepting it in the call phase of testing but to no luck. I also tried utilizing the step error and before step hook but that didn’t help out. Any information on how I can approach?
The text was updated successfully, but these errors were encountered:
No worries at all. I appreciate you trying to help!!
That is a great workaround but I'm trying to figure out how to best figure this issue out for future scenarios.
Currently I have implemented hooks to take care of steps that are not implemented. I'm still getting familiar with hooks, but I was wondering if the first step not being implemented prevents the test from starting execution and is exiting with a code 3 in the collection phase.
I was wondering if that was the issue that resulted in a report not being made and how to best approach it...
I’ve been trying to figure out why the report JSON doesn’t generate if the first step of a scenario is not implemented. The issue doesn’t happen when any other step is not implemented but the first one and it generates a report if the second step or so on is not implemented. The error is correct for the step definition not being implemented. I tried tracing the error to see when the report is being generated and intercepting it in the call phase of testing but to no luck. I also tried utilizing the step error and before step hook but that didn’t help out. Any information on how I can approach?
The text was updated successfully, but these errors were encountered: