Description
waitForAnimationToEnd always shows 0ms
✓ waitForAnimationToEnd (0ms)
From the official docs this should work with a timeout flag ie.
- waitForAnimationToEnd:
timeout: 5000 # Wait up to 5s for movement to stop
Which should wait 5s for the UI to settle.
Use case:
- After submitting a form, there is a loading content UI which takes a couple seconds to settle. I have tried adding waitToSettleTimeoutMs on taps, and also extended wait on the loading UI, however these seem to hang for 17s even after the loading message has disappeared (on Android)
Steps to Reproduce
- Run command 'waitForAnimationToEnd'
Expected Behavior
Waits 5s for the UI to settle
Actual Behavior
0ms wait
Environment
- maestro-runner version: latest-version
- Executor: UIAutomator2
- Device/Simulator: Android Medium_Phone_API_36.1
Description
waitForAnimationToEnd always shows 0ms
✓ waitForAnimationToEnd (0ms)
From the official docs this should work with a timeout flag ie.
Which should wait 5s for the UI to settle.
Use case:
Steps to Reproduce
Expected Behavior
Waits 5s for the UI to settle
Actual Behavior
0ms wait
Environment