Espresso : how to turn off animation.

869 views
Skip to first unread message

SK

unread,
Aug 5, 2016, 4:03:44 PM8/5/16
to Android Testing Support Library
How to turn off animation for Espresso. I get the erro rAppNotIdleException: Looped for 3580 iterations over 60 SECONDS on a particular page of the app.
Would appreciate your help.

Drew Hannay

unread,
Aug 5, 2016, 4:06:35 PM8/5/16
to Android Testing Support Library
Check out this new project from LinkedIn, Test Butler. It can help with easily disabling animations on the emulator.

SK

unread,
Aug 5, 2016, 4:10:13 PM8/5/16
to Android Testing Support Library
I think this is only for emulator, how about the physical devices?

Chao Zhang

unread,
Aug 7, 2016, 1:10:57 PM8/7/16
to Android Testing Support Library
Go to Settings > Developer options, and scroll down to Window animation scale,Transition animation scale, and Animator duration scale. Tap on each of the animation options and turn them off.

sana.r...@gmail.com

unread,
Aug 8, 2016, 2:47:38 PM8/8/16
to Android Testing Support Library
Thanks Chao.
Reply all
Reply to author
Forward
0 new messages