Код: Выделить всё
@AfterStep
public static void afterStep() {
Allure.getLifecycle().startStep("custom-id", new StepResult().setName("API Details"));
logApiDetails();
Allure.getLifecycle().stopStep("custom-id");
}
Подробнее здесь: https://stackoverflow.com/questions/789 ... methodname
Мобильная версия