use of cucumber.api.TestStep in project page-factory-2 by sbtqa.
the class PrintParameters method beforeSendStepFinished.
@Before("sendStepFinished(event)")
public void beforeSendStepFinished(JoinPoint joinPoint, Event event) {
TestStep testStep = ((TestStepFinished) event).testStep;
if (testStep instanceof PickleStepTestStep) {
this.testArguments.set(((PickleStepTestStep) testStep).getStepArgument());
addAllureArguments();
}
}
Aggregations