I'm currently developing a UI test suite in Espresso for an app which has many procedural animations thorough. Many of those animations are actually infinitely-looped, which makes Espresso hang indefinitely while waiting for idleness.
Now, unfortunately, those animations were not developed using the Animator library classes, so the usual way of turning off animation scale (through Developer Settings) yields no effect here. At the same time, the dev team is wary about adding test-related code into the application's code (which prevents me from using flags/environment variables to manually stop animations, for instance).
Is there a solution to globally disable all animations regardless of their implementation without adding code into the application when running UI tests?
Aucun commentaire:
Enregistrer un commentaire