--
You received this message because you are subscribed to a topic in the Google Groups "Android Testing Support Library" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-testing-support-library/VsqCCYMzhe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-testing-suppo...@googlegroups.com.
To post to this group, send email to android-testing...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-testing-support-library/56dd9901-a22c-4052-81aa-77706960e743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We actually did find a way. We run an adb script on the emulator before running the test which does this:settings put secure long_press_timeout 1000The default long_press_timeout is 500 ms. By increasing long press timeout to 1000, we got rid of most of our flakiness here.
On Wed, Mar 22, 2017 at 9:47 AM JabKnowsNothing <jabknow...@gmail.com> wrote:
One possible solution although not really the espresso way,
https://gist.github.com/jabKnowsNothing/fe34673419500dcc6fc9--
On Tuesday, August 23, 2016 at 3:26:00 AM UTC-5, tali...@gmail.com wrote:Hi,We use espresso in our automated tests.We have a test suite which is very flaky since we keep getting the following error while trying to click:"Overslept and turned a tap into a long press"Our test suite tests an activity which has multiple fragments and sometimes click on each of the fragment becomes a long click.For now I added a rollback action but I have to say that I don't like this solution.any other suggestions how to do it right?Thanks,Tali
You received this message because you are subscribed to a topic in the Google Groups "Android Testing Support Library" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-testing-support-library/VsqCCYMzhe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-testing-support-library+unsubscribe@googlegroups.com.
To post to this group, send email to android-testing-support-lib...@googlegroups.com.