net.serenitybdd.core.steps.Instrumented Java Examples
The following examples show how to use
net.serenitybdd.core.steps.Instrumented.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AddTodoItems.java From serenity-documentation with Apache License 2.0 | 4 votes |
public static AddTodoItems called(String... items) { return Instrumented.instanceOf(AddTodoItems.class).withProperties(asList(items)); }
Example #2
Source File: AddATodoItem.java From serenity-documentation with Apache License 2.0 | 4 votes |
public static AddATodoItem called(String thingToDo) { return Instrumented.instanceOf(AddATodoItem.class).withProperties(thingToDo); }
Example #3
Source File: TheItemStatus.java From serenity-documentation with Apache License 2.0 | 4 votes |
public static Question<?> forTheItemCalled(String itemName) { return Instrumented.instanceOf(TheItemStatus.class).withProperties(itemName); }
Example #4
Source File: Evaluate.java From jenkins-build-monitor-plugin with MIT License | 4 votes |
public static Evaluate javascript(String expression, Object... parameters) { Evaluate evaluate = Instrumented.instanceOf(Evaluate.class).withProperties(expression); return evaluate.withParameters(parameters); }
Example #5
Source File: SearchForKeyword.java From tutorials with MIT License | 4 votes |
public static Task of(String keyword) { return Instrumented.instanceOf(SearchForKeyword.class).withProperties(keyword); }