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
Currently it is not easily possible to do an action before every step or after every step. Would you think that it make sense to introduce such life-cycle hooks? One example use case would be to take a screenshot after every step, for example.
As an alternative we could also introduce a listener interface that is attached to the stage. Something like:
@StepListener( MyStepListener.class )
public class MyStage {
}
public class MyStepListener implements StepListener {
public void before(CurrentStep currentStep) {
....
}
public void after(CurrentStep currentStep) {
....
}
}
The text was updated successfully, but these errors were encountered:
Currently it is not easily possible to do an action before every step or after every step. Would you think that it make sense to introduce such life-cycle hooks? One example use case would be to take a screenshot after every step, for example.
As an alternative we could also introduce a listener interface that is attached to the stage. Something like:
The text was updated successfully, but these errors were encountered: