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

Swipe action starts in unexpected position #566

Closed
yogevbd opened this issue Feb 7, 2018 · 9 comments
Closed

Swipe action starts in unexpected position #566

yogevbd opened this issue Feb 7, 2018 · 9 comments

Comments

@yogevbd
Copy link
Contributor

yogevbd commented Feb 7, 2018

I'm trying to open side menu on android and can't get the swipe action to start in x=0 point.

ezgif com-video-to-gif 1

@stale
Copy link

stale bot commented Mar 28, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions.

@stale stale bot added the 🏚 stale label Mar 28, 2018
@guyca
Copy link

guyca commented Mar 28, 2018

Still relevant

@stale stale bot removed the 🏚 stale label Mar 28, 2018
@rotemmiz
Copy link
Contributor

@guyca, what happens when you match the view you're trying to swipe (the offscreen side menu)?

@guyca
Copy link

guyca commented Mar 28, 2018

IIRC, We're matching against the root view, not against an offscreen view.

@rotemmiz
Copy link
Contributor

Espresso will only interact with the matched view, the root view is not swipeable, therefore nothing will move when trying to swipe it.

@guyca
Copy link

guyca commented Mar 28, 2018

Alright, how do you suggest we simulate swiping on the screen to open a side menu?

@rotemmiz
Copy link
Contributor

Try matching the view you want to interact with. If it doesn't work, we may need to play a bit with espresso's assertions on the view's visibility (only interact when view is 75% visible)

@stale
Copy link

stale bot commented May 12, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions.

@stale stale bot added the 🏚 stale label May 12, 2018
@stale
Copy link

stale bot commented May 19, 2018

The issue has been closed for inactivity.

@stale stale bot closed this as completed May 19, 2018
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants