DatePickerAssertion

public interface DatePickerAssertion implements BaseActions

Provides assertions for date picker

Inheritors

Functions

Link copied to clipboard
public Unit act(Function0<ViewAction> function)

Performs custom action on a view

Link copied to clipboard
public Unit click(CoordinatesProvider location)

Performs click on view

Link copied to clipboard
public Unit doubleClick(CoordinatesProvider location)

Performs double click on view

Link copied to clipboard
public abstract ViewInteractionDelegate getView()
Link copied to clipboard
public Unit hasDate(Integer year, Integer monthOfYear, Integer day)

Check if picker dialog contain selected date Month number will be normalized

Link copied to clipboard
public Unit hasDay(Integer day)

Check if picker dialog contain selected day

Link copied to clipboard
public Unit hasMonth(Integer monthOfYear)

Check if picker dialog contain selected month

Link copied to clipboard
public Unit hasYear(Integer year)

Check if picker dialog contain selected year

Link copied to clipboard
public Unit longClick(CoordinatesProvider location)

Performs long click on view

Link copied to clipboard
public Unit onFailure(Function2<Throwable, Matcher<View>, Unit> function)

Adds failure handler to the view

Link copied to clipboard

Presses IME action, if supported view is in focus

Link copied to clipboard
public Unit repeatUntil(Integer maxAttempts, Function0<ViewAction> action, Function1<ViewBuilder, Unit> matcher)

Repeats given action on the view until this view will match the given matcher

Link copied to clipboard
public Unit scrollTo()

Scrolls to the view, if possible