#subflows/sleep.yaml
appId: ${APP_ID}
---
# Waits ${MS} ms. Maestro has no sleep, and `waitForAnimationToEnd` returns as soon as the screen is
# still: wait for an element that is never there, `optional` so running the clock out is not a failure.
- extendedWaitUntil:
visible:
id: "no-such-element"
timeout: ${MS}
optional: true