maestro
maestro copied to clipboard
[Feature Request] how to reduce delay between actions globally?
It seems that the delay is set to a very long value, which is about 1-2 seconds after ui is fully drawn. I would like to reduce the delay between actions globally, to get faster test speed in every flow.
Yeah, there are some waitForAppToSettle on code that make it slower. On a local build, I decreased its value and worked fine and faster. I'm sure it was introduced for some reason, but maybe there's another approach, like taking screenshots internally and comparing them (if the screenshoots are the same in a 300ms interval, we can assume that app is settle...)
Yeah, there are some
waitForAppToSettleon code that make it slower. On a local build, I decreased its value and worked fine and faster. I'm sure it was introduced for some reason, but maybe there's another approach, like taking screenshots internally and comparing them (if the screenshoots are the same in a 300ms interval, we can assume that app is settle...)
If so I would like to know the reason. And your approach is inspiring!
The time between tests is a real pain point (5+ seconds!). The example video on the home page seems like it was artificially sped up. E.g, Tap events I want to be near instant and if I want to delay the next action, there's already assertVisible or assertNotVisible that can be used to delay actions. Once the conditions of those are met, then I want to immediately trigger the next action.
It would be nice to be able to configure this on a global setting if there's an action I want to deliberately wait, then there should be a waitTimeout as an action.