anandmeher / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Fragment with ViewPager won't slide to next Fragment #634

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Navigate to a Fragment containing enough row elements to fill the whole View.
2. Try to slide to the Fragment aside, using solo.swipe(rightPoint1, 
rightPoint2, leftPoint1, leftPoint2). The "y" coordinate is in half of the View

Alternative scenario:
1. Navigate to a Fragment containing just one or two row elements
2. Try to slide to the Fragment aside, using solo.swipe(rightPoint1, 
rightPoint2, leftPoint1, leftPoint2). The "y" coordinate is in half of the View.

What is the expected output? What do you see instead?
A click in the row element is performed, instead of the sliding effect.
In the "alternative scenario" (when sliding in a "blank" part of the View), it 
slides correctly.
Note: using solo.scrollViewToSide(this.solo.getView(R.id.pager), Solo.RIGHT); 
provides the same result, in both scenarios.

What version of the product are you using? On what operating system?
robotium-solo:5.2.1, API 20, Android 4.2.2, Win 7 64, Android Studio 0.8.6

Please provide any additional information below.
I will provide a demo app as soon as I can

Original issue reported on code.google.com by juanmou...@gmail.com on 19 Sep 2014 at 7:59

GoogleCodeExporter commented 9 years ago
Thanks. Please submit the demo app and we'll make sure to fix this. 

Original comment by renasr...@gmail.com on 22 Sep 2014 at 9:33

GoogleCodeExporter commented 9 years ago
Anyone who can share an app that exhibits this issue?

Original comment by renasr...@gmail.com on 12 Dec 2014 at 1:02

GoogleCodeExporter commented 9 years ago
Sorry Renas, I coudn't reproduce this outside the original app (and I don't own 
that source code). You can close this if you want, I apologize for the false 
alarm.

Original comment by juanmou...@gmail.com on 12 Dec 2014 at 9:51

GoogleCodeExporter commented 9 years ago
No problem. Thanks for letting me know. 

Original comment by renasr...@gmail.com on 12 Dec 2014 at 10:02