maestro
maestro copied to clipboard
Default timeout of commands should be documented in API reference
Commands that wait by default if the action cannot be performed immediately (e.g. tapOn on a view that is not yet visible, waitForAnimationToEnd) should have their timeouts clearly documented in API reference.
I just wanted to find out what the timeout for waitForAnimationToEnd is, and to do that, I had to look at the source code.
Ah, it's here: https://maestro.mobile.dev/advanced/configuring-maestro-driver-timeout.
I think this page should be linked to from Commands.
Ah, it's here: https://maestro.mobile.dev/advanced/configuring-maestro-driver-timeout.
MAESTRO_DRIVER_STARTUP_TIMEOUT is just for app startup. It doesn't change the default timeout between actions. E.g, an action that takes 60 seconds to process is terminated early even with MAESTRO_DRIVER_STARTUP_TIMEOUT set.
Is there no way to actually configure command timeouts individually? I can't seem to find one 🤔
- runFlow:
when:
visible: "${INPUT_TEXT}.*" # I want to configure this to something like 1500ms
commands:
- tapOn: "${INPUT_TEXT}.*"