Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new slowSwipeUp Locator #2270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions espresso/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ The following artifacts were released:
**Breaking API Changes**

**Known Issues**

**New Locator declared**
Original file line number Diff line number Diff line change
Expand Up @@ -586,4 +586,13 @@ public interface BitmapReceiver {
public static ViewAction captureToBitmap(BitmapReceiver bitmapReceiver) {
return new CaptureToBitmapAction(bitmapReceiver);
}

public static ViewAction slowSwipeUp() {
return actionWithAssertions(
new GeneralSwipeAction(
Swipe.SLOW,
GeneralLocation.translate(GeneralLocation.BOTTOM_CENTER, 0, -EDGE_FUZZ_FACTOR),
GeneralLocation.TOP_CENTER,
Press.FINGER));
}
}
Loading