Currently we can see that two of the major cloud testing services:
- Amazon AWS Device Farm
- Google Cloud Test Lab
do not support disabling device animations as suggested by espresso developers: https://google.github.io/android-testing-support-library/docs/espresso/setup/index.html#setup-your-test-environment
Amazon actually disables the window-animation but this is not enough as the biggest source of flakyness is the Animator.
Google acknowledged the issue but fixing it will take some time.
In the meantime, how would you disable Animator animations without having access to the device?