
net.serenitybdd.screenplay.BackendTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-screenplay Show documentation
Show all versions of serenity-screenplay Show documentation
Support for the User Journey pattern in Serenity
package net.serenitybdd.screenplay;
import net.serenitybdd.core.steps.Instrumented;
import static java.util.Arrays.asList;
/**
* A backend task will report on all nested tasks, but will not generate any screenshots.
*/
public class BackendTask {
public static AnonymousTask where(String title, T... steps) {
return Instrumented.instanceOf(AnonymousBackendTask.class)
.withProperties(title, asList(steps)).withNoReporting();
}
public static AnonymousTask where(T... steps) {
return Instrumented.instanceOf(AnonymousBackendTask.class)
.withProperties("Backend task", asList(steps)).withNoReporting();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy