https://github.com/serenity-bdd/serenity-jbehave/issues/113
The JBehave API has changed, you now need to provide the uponType parameter, eg.
@BeforeScenario(uponType = ScenarioType.ANY)
public void setTheStage() {
OnStage.setTheStage(new OnlineCast());
}
@AfterScenario(uponType = ScenarioType.ANY, uponOutcome = Outcome.ANY)
public void getBrowserDevToolsNetworkLog2() throws Exception {
suiteFreshInstallSteps.getBrowserDevToolsNetworkLog(CdfConstant.DEMO_UI_SELENIUM_HUB_HOST, "root", "iso*help");
}
@AfterStories
public void afterGivenStory() {
System.out.println("After Given Story begin to get Browser DevTools Network Log");
suiteFreshInstallSteps.getBrowserDevToolsNetworkLog(CdfConstant.DEMO_UI_SELENIUM_HUB_HOST, "root", "iso*help");
}