-
public final class AfterTestSection<InitData extends Object, Data extends Object>The representation of a set of actions to invoke after the test.
-
-
Method Summary
Modifier and Type Method Description final InitSection<InitData, Data>after(Function1<BaseTestContext, Unit> actions)Wraps actions in a lambda, that will invoke these actions and make screenshot if actions will fail when it will be invoked itself, and sets this lambda as the TestBody.afterTestActions. -
-
Method Detail
-
after
final InitSection<InitData, Data> after(Function1<BaseTestContext, Unit> actions)
Wraps actions in a lambda, that will invoke these actions and make screenshot if actions will fail when it will be invoked itself, and sets this lambda as the TestBody.afterTestActions.
- Parameters:
actions- actions to be wrapped and invoked after the test.
-
-
-
-