Open push2212 opened 3 years ago
There is no equivalent of that in Cucumber.
Ok, thanks for the quick reply
one more thing , could you please tell me if I can get how the serenity catches a failure , any parameter or property that gets set when there is an exception.
Hello ,
I need to know the scenario status while in execution so that I can execute @After annotation to perform some logging.
In JBehave I have used @AfterScenario(uponType=ScenarioType.ANY,uponOutcome=AfterScenario.Outcome.FAILURE)
What can I use in Serenity with Cucumber. Please suggest.