Skip to content

Instantly share code, notes, and snippets.

Avatar

Tadeu Araujo araujotadeu

View GitHub Profile
View espresso_waitId
public abstract class ViewActions {
public static final int DELAY = 100;
public static ViewAction waitId(final int viewId, final long millis) {
return new ViewAction() {
@Override
public Matcher<View> getConstraints() {
return isRoot();
}