You can turn off device animations during a test run. On Android this works by zeroing the three
system animation scales (window, transition, animator) via adb. On iOS this
enables the Reduce Motion accessibility setting.
Pass the flag on dcd cloud:
dcd cloud ... --disable-animationsOr set it once in the workspace config.yaml:
platform:
android:
disableAnimations: true
ios:
disableAnimations: trueOverride the upload-wide setting for a single flow via the DeviceCloud env variable:
# in your test.yaml
appId: my.app
env:
DEVICECLOUD_OVERRIDE_DISABLE_ANIMATIONS: true
---
# test stepsWhen the same flow YAML runs on both Android and iOS, you can target each platform independently. Use this when animations cause problems on one platform but you want them on for the other (for example, animations off on Android to fix scroll/tap flakiness, but on for iOS where Reduce Motion changes app appearance):
# in your test.yaml
appId: my.app
env:
DEVICECLOUD_OVERRIDE_ANDROID_DISABLE_ANIMATIONS: true
DEVICECLOUD_OVERRIDE_IOS_DISABLE_ANIMATIONS: false
---
# test stepsThe other platform's key is ignored — only the one matching the run's platform is consulted.
When more than one is set, the most specific wins:
DEVICECLOUD_OVERRIDE_<PLATFORM>_DISABLE_ANIMATIONS(per test, this platform)DEVICECLOUD_OVERRIDE_DISABLE_ANIMATIONS(per test, both platforms)- The upload-wide
--disable-animationsflag orconfig.yaml - Default: animations are on
A false override is honoured the same as true — a test can opt out even when the
upload-wide flag is set.